Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Other WordPress: New pages won’t go in query order?

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #41514
    StephBertha
    Participant

    Hi there,

    I have a query, like so:



    Which has worked fine, until I started adding new pages. Those new pages I added won’t go in order. They seem to be bunched up together.

    The new posts I created are not sticky posts (although I don’t think pages can be). I noticed the older pages, that are arranged, were added on a specific date. Thinking that might solve it, I adjusted the date, but that didn’t work.

    I also tried wp_reset_query, but that didn’t work either. Weird. Thoughts?

    #118542
    SgtLegend
    Member

    Try adding `orderby=date` to the query string

    #118554
    StephBertha
    Participant

    Oh yeah, there is an “orderby”. This worked!

    Thank you!

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘Other’ is closed to new topics and replies.