[Plugin: Post Types Order] Plugin clashes with orderby parameter in query_posts
-
With this plugin activated, the orderby parameter is ignored in a custom query:
e.g.
$args = array ( 'post_type' => 'mytype', 'orderby' => 'rand', 'posts_per_page' => -1); $psites = new WP_Query( $args );The rand parameter is ignored when the plugin is active.
Is there any workaround – we want some of our pages displaying the posts in the order determined by the plugin, but we also need to be able override that in custom loops
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘[Plugin: Post Types Order] Plugin clashes with orderby parameter in query_posts’ is closed to new replies.