Role Scoper: updating query_posts
-
I have Role Scoper working fine until I add a query_posts on my index.php template so that page includes all my custom post types. Is there a way to either avoid nuking my RS effects (the index.php page displays data correctly until I add my CPTs with query_posts) or update the query_posts so it also runs/re-runs RS filters?
Here is my code in the index.php file:
<?php if ( have_posts() ) : query_posts(array('post_type' => array('post', 'article', 'document', 'faq'))); ?>
As you can see, it’s plain vanilla. But adding it causes the page to ignore any RS filters.
Put another way, is there any way to use query_posts and the category equivalent (the WordPress function that generates category lists) to manually add RS filters?
Thanks!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Role Scoper: updating query_posts’ is closed to new replies.