<p>Can't think of a way how to query posts from a certain day, but you can certainly group entries by day they were posted on:</p>

<pre><code>{% set allEntries = craft.entries.section('blog').limit(null) %}
{% for day, entries in allEntries | group("postDate|date('l')") %}
    &lt;h2&gt;{{ day }}&lt;/h2&gt;
    &lt;ul&gt;
        {% for entry in entries %}
            &lt;li&gt;{{ entry.getLink() }}&lt;/li&gt;
        {% endfor %}
    &lt;/ul&gt;
{% endfor %}
</code></pre>

CC BY-SA 3.0
2015-08-11T12:59:26.510Z
That may be all I need, thank you - I'm just a bit concerned over how wasteful it is to have to go about filtering the results like this. Might not be an issue in the end though :)
Matt Wilcox
CC BY-SA 3.0
2015-08-11T12:40:47.537Z
2015-08-11T12:40:47.537Z
j00lz
<p>Super simple request, not sure if it's possible...</p>

<p>Can we pull all entries that were posted on a Monday, for example? Or pull all entries but group them by the day name they were posted on?</p>

<entries>
Getting all entries posted on any given weekday
# Getting all entries posted on any given weekday

(Asked by: username_0 on 2015-08-11)

Super simple request, not sure if it's possible...

Can we pull all entries that were posted on a Monday, for example? Or pull all entries but group them by the day name they were posted on?

**Tags:** entries


---

## 1 answers

### Answer by username_1 on 2015-08-11. Score: 3 | Accepted answer

Can't think of a way how to query posts from a certain day, but you can certainly group entries by day they were posted on:
{% set allEntries = craft.entries.section('blog').limit(null) %}
{% for day, entries in allEntries | group("postDate|date('l')") %}
    {{ day }}
    
        {% for entry in entries %}
            {{ entry.getLink() }}
        {% endfor %}
    
{% endfor %}

> **Comments:**
> **username_0**: That may be all I need, thank you - I'm just a bit concerned over how wasteful it is to have to go about filtering the results like this. Might not be an issue in the end though :)  

---

