Wp query by php variable
-
Hi,
Each my post has a php variable.
That variable changes depending on frontend user actions (it’s something like voting).
I would like to get all post on index page with wp_query, but i want to sort them by that variable and show only 20 highest items.It is possible to get that php variable in query?
Thanks
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Wp query by php variable’ is closed to new replies.