Custom Query String
-
I’m trying to set a custom query string on my theme to show the posts sort by highest rated!
$query = new WP_Query( array ( ‘r_sortby’ => ‘get_highest_rated’,’r_orderby’ => ‘ASC’ ) );
Thats the code I’ve tried but it doesn’t work.. any help?
- The topic ‘Custom Query String’ is closed to new replies.