Title: Display date when it changes
Last modified: May 9, 2019

---

# Display date when it changes

 *  Resolved [digestsua](https://wordpress.org/support/users/digestsua/)
 * (@digestsua)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/display-date-when-it-changes/)
 * Hello,
    Plugin is excellent and works very well. Your addon to display pages 
   is very useful! And now I have a new question – can you show the date before 
   the list when date changes and list is sorted asc/dsc?
 * It’ll be very convenient for multiple dates.
    Thanks a lot again for your work!

Viewing 7 replies - 1 through 7 (of 7 total)

 *  Plugin Author [Bill Erickson](https://wordpress.org/support/users/billerickson/)
 * (@billerickson)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/display-date-when-it-changes/#post-11529693)
 * Thanks for the request.
 * You can change the order of the elements in the listing (ex: post date, post 
   title…) using [the output filter](https://displayposts.com/docs/the-output-filter/).
 *  Thread Starter [digestsua](https://wordpress.org/support/users/digestsua/)
 * (@digestsua)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/display-date-when-it-changes/#post-11530193)
 * Hello,
    I had in mind such output: <h2>May, 09 2019</h2> title… title… title…
   title… <h2>May, 11 2019</h2> title… title… title… <h2>May, 12 2019</h2> title…
   title… i.e. subheader for the date.
    -  This reply was modified 7 years, 1 month ago by [digestsua](https://wordpress.org/support/users/digestsua/).
 *  Plugin Author [Bill Erickson](https://wordpress.org/support/users/billerickson/)
 * (@billerickson)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/display-date-when-it-changes/#post-11530312)
 * Ah I see what you mean.
 * Install the [Display Posts – Date View](https://github.com/billerickson/display-posts-date-view)
   addon plugin, then use:
 * [display-posts display_by_day=”true” posts_per_page=”999″]
 *  Thread Starter [digestsua](https://wordpress.org/support/users/digestsua/)
 * (@digestsua)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/display-date-when-it-changes/#post-11530352)
 * Hello,
    It’s true for only one date, but if number of posts is too big and your
   plugin [Pages] cuts them apart by …50 titles, I need to continue the list with
   pagination.
 *  Plugin Author [Bill Erickson](https://wordpress.org/support/users/billerickson/)
 * (@billerickson)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/display-date-when-it-changes/#post-11530611)
 * You can use the [Display Posts – Pagination](https://github.com/billerickson/Display-Posts-Pagination)
   extension to add pagination to your query.
 *  Thread Starter [digestsua](https://wordpress.org/support/users/digestsua/)
 * (@digestsua)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/display-date-when-it-changes/#post-11530822)
 * Super,
    But how I can display date before breaking of the listing by day? (as
   I mentioned above) I have an achieve of category with huge number of posts and
   want to display all of them breaking by date with subtitle <h2>date</h2> (any
   css selector, of course). Thank you.
 *  Plugin Author [Bill Erickson](https://wordpress.org/support/users/billerickson/)
 * (@billerickson)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/display-date-when-it-changes/#post-11531628)
 * I’m not sure I follow your issue.
 * If you want to display a paginated list (50 per page) of posts with a day-based
   heading, use:
 * [display-posts display_by_day=”true” posts_per_page=”50″ pagination=”true”]
 * The result will be like this: [https://cl.ly/7757387cf5d1](https://cl.ly/7757387cf5d1)
 * You will need both the Pagination and Date View extensions installed for this
   to work.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Display date when it changes’ is closed to new replies.

 * ![](https://ps.w.org/display-posts-shortcode/assets/icon-256x256.jpg?rev=2940963)
 * [Display Posts - Easy lists, grids, navigation, and more](https://wordpress.org/plugins/display-posts-shortcode/)
 * [Support Threads](https://wordpress.org/support/plugin/display-posts-shortcode/)
 * [Active Topics](https://wordpress.org/support/plugin/display-posts-shortcode/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/display-posts-shortcode/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/display-posts-shortcode/reviews/)

 * 7 replies
 * 2 participants
 * Last reply from: [Bill Erickson](https://wordpress.org/support/users/billerickson/)
 * Last activity: [7 years, 1 month ago](https://wordpress.org/support/topic/display-date-when-it-changes/#post-11531628)
 * Status: resolved