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?

1 Answer 1


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')") %}
    <h2>{{ day }}</h2>
        {% for entry in entries %}
            <li>{{ entry.getLink() }}</li>
        {% endfor %}
{% endfor %}
  • 1
    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 :) Commented Aug 11, 2015 at 12:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.