• Resolved ibc3

    (@ibc3)


    Hi! I have a strange issue… I recently upgraded to WP 3.5.2 & noticed that 2 of our older posts started sorting to the top and are stuck there. Here are the parameters I am using, & the site is vahi.org.

    [display-posts image_size=”thumbnail” include_excerpt=”true” wrapper=”div” posts_per_page=”15″ orderby=”date” order=”DESC”]

    The top 2 posts have a date of 6-12-2013 & 6-11-2013 respectively. The 3rd post has a date of 7-15-2013. The rest of the posts are sorting correctly (desc date) until the next to last one which has a date of 6-10-2013, with a 6-25-2013 post above it & 6-21-2013 post below it.

    I have tried to change the post date on these offending posts, but that didn’t work either. What am I missing? Thanks!

    https://www.ads-software.com/extend/plugins/display-posts-shortcode/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter ibc3

    (@ibc3)

    If you look at this page, I’ve added the date display to help see the order.

    https://vahi.org/a-test/

    When I change the order to ASC, it seems to sort correctly, just not DESC. I’ll post more info as I have it.

    Thanks!

    Thread Starter ibc3

    (@ibc3)

    Another clue… I recently noticed this has to do with posts that have Full-Throttle calendar plug-in events associated with them. Any ideas on how to fix this? I’m not sure why it is sorting on the Full-Throttle calendar date instead of the post date. Thanks for your help!

    Plugin Author Bill Erickson

    (@billerickson)

    My guess is that plugin is doing something that alters the post date. I’ve never used it before, so I recommend you post this in their support forum.

    Display Posts Shortcode uses standard WordPress Queries (WP_Query), so this should affect any theme or plugin that is also doing custom queries.

    Thread Starter ibc3

    (@ibc3)

    Hi! Thanks for the response! I have posted something on the ft-cal plugin support site, too.

    In the meantime, I looked at the database, and the wp_posts.post_date is unchanged on the post that sorts to the top; it stays 6-12-2013. There is only an entry added to the wp_ftcalendar_events table with the event date of 10-6-2013.

    Any idea? I’m not real sure how the WP_Query works, but will try to study that, too. I just thought this plugin would look at the post_date for sorting. Any other suggestions on things to examine?

    Thanks again!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Sorting by Date Issue’ is closed to new replies.