Support » Plugin: Display Posts - Easy lists, grids, navigation, and more » Display date when it changes

  • Resolved digestsua

    (@digestsua)


    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

    (@billerickson)

    Thanks for the request.

    You can change the order of the elements in the listing (ex: post date, post title…) using the output filter.

    digestsua

    (@digestsua)

    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 4 months ago by  digestsua.
    Plugin Author Bill Erickson

    (@billerickson)

    Ah I see what you mean.

    Install the Display Posts – Date View addon plugin, then use:

    [display-posts display_by_day=”true” posts_per_page=”999″]

    digestsua

    (@digestsua)

    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

    (@billerickson)

    You can use the Display Posts – Pagination extension to add pagination to your query.

    digestsua

    (@digestsua)

    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

    (@billerickson)

    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

    You will need both the Pagination and Date View extensions installed for this to work.

Viewing 7 replies - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.