I had a similar problem and posted the solution here:
http://wordpress.org/support/topic/role-scoper-updating-query_posts
query_posts causes the main WP_Query to be discarded. That may or may not be the behavior you want. If no, you need to update WP_Query, then you could update your functions.php file to include a register filter that displays your content types as part of WP_Query (see code at URL above). If yes, you don’t care about WP_Query, then I ran my query_posts after have_posts with this code in my index.php file:
query_posts(array('post_type' => array('post', 'article', 'document', 'faq', 'video')));
Related Posts:
- Custom post type archive 404’s with paginate_links
- Display Custom Post Type Fields
- Retrieving 3 latest post from each of 5 different custom post types
- how to group custom post type posts by custom taxonomy terms
- Using Query Posts With Multiple Post Types And A Taxonomy
- How to get the parent’s taxonomy?
- Unable to display multiple post types in same query (WPML WP_Query)
- Query for posts in 2 taxonomies
- Quickest way to get last or oldest post date – WP Query
- Separate Posts and Custom Post Type in Custom Taxonomy archive template
- Custom query shows custom post types in trash
- Multiple post type queries (with specific arguments for each)
- Sorting multiple custom post types without a meta key/value pair by sort order
- Display custom post type from dynamic custom field
- Query/list all terms and their custom post count
- Archive for custom taxonomy lists all posts instead of current taxonomy
- Get latest 3 posts from multiple CPT in one query
- Polylang non-default language ignores tags in WP_Query
- Different Ways to Query Custom Post Types?
- pagination not working for category.php (custom post types in categories)
- How to display Related Posts based on number of taxonomy terms matched
- How to make WP_Query not to show irrelevant posts?
- Loop for custom post types filtered by a taxonomy
- Custom post type, custom taxonomy, query posts only from taxonomy (children of)
- Pagination not working on custom query on a page
- find custom post type post by searching its custom field with my string
- FacetWP paging custom wp_query
- Can’t change posts per page in WordPress Post Type Query
- postsperpage value not being applied
- Custom Post Type Query W/Category Dropdown
- Find Posts based on Child Post value
- Custom Post Type ‘Event’: Chronological list of recurring events from meta_values in array
- Sorting the Loop by Taxonomy Value
- Custom Query: Multiple CPTs and a taxonomy filter
- WP query_posts group by meta field related
- Custom wp-query display post only today
- custom post type and a “sticky” position taxonomy
- Use WP_query to match post types based on custom field values
- minimize wp_query call to database
- Query the title of the page to show posts with matching category in the loop
- Main site single-property.php design, as homepage of a multisite
- Imported Content Doesnt Show Up On Frontend
- WordPress custom post type
- display news with pictures 3 small and one large (loop)
- Custom Query With Multiple Meta Key Value
- Custom post type blog pagination conflict
- Query Posts From Multiple Post Types
- send user to first page of results when reposting to page?
- How do I correctly query posts from a post ID?
- How to exclude certain portfolios from a loop
- Quering array of post types & pagination. Articles are repeating sometimes on different pages
- Display ACF object field data using Elementor Custom Query
- Assign a tag to custom post type using a query
- order by meta_value serialized array
- Displaying Posts Related to Other Posts by a Taxonomy Term?
- How to query for posts (in hierarchical custom post type) that have children?
- Prevent change with new query_posts()
- Re-order posts in query after
- How do I Use Nested Loops of Custom Post Types for MultiSite Blogs using WP_Query()
- Get the next event using date_query
- Impossible to get Attachments Outside WordPress?
- Help Structuring Query for Archive Pages
- Is it possible to create a shortcode that will query a post based on taxonomies?
- Pagination on category page with custom post types
- Custom query works but returns “Undefined Offset: 0”
- Query custom post type in the loop
- Troubles with acf/save_post and WP_Query
- Query custom post type with ACF Date
- WP Query with categories only shows one post and ignores the category
- WordPress request fiter order by related post’s post_title
- Order Custom Post Type by Custom Field Value
- WP_Query custom post type query not showing the exact post type
- Query posts based on the meta key values of logged-in users?
- Change sort order when using ‘orderby’ => ‘type’
- query_posts adding extra code to homepage
- WordPress wp_query() basic question about args
- Pagination doesn’t function properly for archive of a custom post type set as the front page
- How to properly rewrite pagination rules for a CPT to avoid 404 error on /page/2
- $post->post_meta not pulling any post in wordpress/php
- How to get the post terms from a child taxonomy
- display posts of custom post type with custom taxonomy
- foreach loop inside the loop creating duplicates in output
- Sorting by meta_key different to search criteria?
- How to fetch posts that are stored in the different table than (default) wp_posts?
- WP_Query order custom post type with certain meta key value by post modified date
- Cant’ Display Custom Post Type Title Base on Tax Terms
- Custom Post Types Not Showing Up In query_posts Result
- Pagination in custom post type archive.php not working
- WP Query: If field X is empty, show posts based on field Y
- Sort custom post column by generated value?
- meta query condition don’t work
- How to search through all child taxonomies using WP_Query?
- Custom post type category returns null
- Tell wordpress to show a single page instead of an archive page
- How to get post by meta value
- Only show current category post
- show custom post’s post in two different divs [duplicate]
- querying to custom field over ACF REST API
- WP Query + custom fields: How to query event posts from the current date backwards 6 months and organize it month by month?
- How do I get parameters from the URL?