Reorder Post manually not showing in the correct order

Support General Reorder Post manually not showing in the correct orderResolved

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #43126
    info@spectrawebdesigns.com[email protected]
    Participant

    I created a Services group with 16 services. I want to manage the display order. I have added a custom field called Services Order and numbered each post 1 through 16.

    The problem is the order should be as follows:

    The display order is 1, 2, 3, 4, 5, but I am getting
    1, 2, 4, 5, 3

    Felix

    #43133
    PeterPeter
    Moderator

    Hello Felix,

    How do you display posts and order them by field value? If you are using the code, please follow the documentation https://developer.wordpress.org/reference/classes/wp_query/#order-orderby-parameters

    #43135
    info@spectrawebdesigns.com[email protected]
    Participant

    Thank you so much, Peter; the posts are now displaying in the correct order. I have to turn on "meta_value_num" and "meta_key=keyname." What I was missing was the "meta_key=keyname."

    Thank you again, Peter.

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