• Resolved jama

    (@jama)


    I have been writing posts to publish on future dates for some time now and had always set the future dated time (hh:mm) on each post to set the order that the posts are published and displayed.

    I have recently made some changes to this and I set the default time for each post now to (00:00:00 – that’s hh:mm:ss). If I have 2 posts on the same day they will obviously have the same published time. Not a problem I thought as I assumed that the post with the lowest ID’s would be published first, but this is not the case. The post with the highest ID is published first.

    So was I wrong in my assumption or should it work the way I assumed, lowest post ID first?

Viewing 2 replies - 1 through 2 (of 2 total)
  • One would expect the higher ID to be, as far as WordPress is concerned, the most recent (that is, the latest) of the two posts. But there’s no aspect in the sql query for the posts object that accounts for this.

    Thread Starter jama

    (@jama)

    OK, thanks for this. I’ll just have to stagger the times unless there is an easy fix in the code.

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

The topic ‘Post Publish Order’ is closed to new replies.