pre_get_posts alter WP Query
-
Hey,
I really like your plugin but I’m struggling altering my query to display my CPT “deal”.
What I would like to get in order :
- First the most liked ones
- Second the less disliked ones
- Third all the other CPT that did not get any like/dislike but order them by date created by
This is what I had setup initially: https://markuphero.com/share/bNZ8vC0r3yNjTRjwP4xa
How can I achieve what I want?
Thanks!
- The topic ‘pre_get_posts alter WP Query’ is closed to new replies.