[Resolved] [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:
$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
- The topic ‘[Resolved] [Plugin: Post Types Order] Plugin clashes with orderby parameter in query_posts’ is closed to new replies.