Post Types Order
[resolved] Orderby meta_value (4 posts)

  1. Tiago ADPS
    Posted 1 year ago #

    Hello all,

    I have a page that calls and orders posts by its meta_value.
    Like so:

    Works fine until I activate this plugin and use it to reorder posts.
    After that, that line of code still calls all the posts from cat 3 that have a meta key called "data", but it does not order them by their value.

    Is there a way to have both plugin and "orderby=meta_value" fully working?

    Thank you in advance


  2. nsp-code
    Plugin Author

    Posted 1 year ago #

    Hi, You should turn OFF the autosort and use 'orderby' => 'menu_order' within queries where custom sort need to apply.

  3. Tiago ADPS
    Posted 1 year ago #


    Thank you for the response!
    But I don't fully understand. What do you mean by turning off the autosort?

    And sorry for taking so long to to answer back.

  4. Tiago ADPS
    Posted 1 year ago #

    Oh, in the settings of course!
    I'll give it a try

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic