• Hi,

    When a new set of posts loads with infinite scrolling turned on, the_date() shows on top of each new load.

    I understand that each individual load is treated as a separate page by WP and that’s why the_date() is displayed, but with infinity scrolling turned on, it’s just not good for usability and defeats the purpose of the_date().

    Since I publish as many as 50 new posts per day, I could end up with 4 or more same-day dates on the screen.

    Any ideas how to solve this? Thanks!

    http://wordpress.org/extend/plugins/jetpack/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor Richard Archambault

    (@richardmtl)

    Hi!

    I don’t kow what theme you are using, but you could remove the_date() from your theme files if you’d like. Could you point me to your site so I can have a look?

    Thread Starter miroslav

    (@miroslav)

    Hi Richard,

    Thank you for your reply. I’m using a child theme over TwentyTwelve. You can see the issue on this page: http://site-building.com/bookmarks/

    the_date() has its place, because it provides context. But there is no need for the date to repeat when a new set of posts loads on infinite scrolling.

    Plugin Contributor Richard Archambault

    (@richardmtl)

    Hi Miroslav!

    We’ll take a look to see if it’s something that can be fixed for a future release. One possible solution we’re looking at is to use the last post on the page before the one currently being served, which we could compare to the date on the current first post, and if they’re the same, we could filter out the_date()’s output. Thanks for bringing this to our attention!

    Thread Starter miroslav

    (@miroslav)

    Thanks for getting back to me on the issue. It would be great if you could fix it in the next release.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Infinite scrolling repeatedly shows same day's the_date()’ is closed to new replies.