I think you are using the wrong post_type
for regular posts.
$args = array('post_type'=>array('post', TribeEvents::POSTTYPE));
// The Query
$the_query = new WP_Query( $args );
// The Loop
while ( $the_query->have_posts() ) :
$the_query->the_post();
echo '<li>' . get_the_title() . '</li>';
endwhile;
// Restore original Post Data
wp_reset_postdata();
Related Posts:
- How to get post content by calling ajax?
- Get the ID of the latest post
- Retrieving 3 latest post from each of 5 different custom post types
- How to get only one category of custom post type?
- Quickest way to get last or oldest post date – WP Query
- 4 posts per page from single category
- Modify default Related Posts Code to Custom Post Type
- How do I correctly query posts from a post ID?
- show custom post’s post in two different divs [duplicate]
- How to get all children and grandchildren of a hierarchical custom post type?
- Fail to compare dates in meta_query
- Order by & include array by specific post ids
- How to call a custom post with get_posts() instead of query_posts()?
- Getting the Intersection of Two Custom Taxonomy Terms for a Custom Post Type?
- Custom post type archive 404’s with paginate_links
- Loading Custom Post Type Events into jQuery-based FullCalendar?
- Limit the post for differents custom post type in the same wp_query
- how to group custom post type posts by custom taxonomy terms
- order by meta_value serialized array
- Multiple templates for custom post type
- Query post types with multiple keys
- posts_nav_link on single post template
- post__in not taking my list of IDs
- Query for posts in 2 taxonomies
- Prevent change with new query_posts()
- How to make an archive page displaying posts in a date range
- Custom Post Type sorted by Title
- Get all posts WHERE custom_field is LIKE value
- Conditionally Query Custom Post Types by Post Meta for Blog Home Page?
- Display custom post types with custom date field value (before today) & order by custom date field
- How to dynamically build a multiple taxonomy query loop within a post type’s single loop?
- Multiple post type queries (with specific arguments for each)
- Pagination is not working on single-{slug}.php but works fine on page-{slug}.php
- Sort by custom field is not working
- Custom query works but returns “Undefined Offset: 0”
- Sorting multiple custom post types without a meta key/value pair by sort order
- Custom post types instead of regular post’s categories in a page template
- Change or update WordPress loop based on dropdown selection
- Display custom post type from dynamic custom field
- Archive for custom taxonomy lists all posts instead of current taxonomy
- List children on child post
- Display content based on a users login
- child of post type (custom)
- Order query using custom meta data
- Get latest 3 posts from multiple CPT in one query
- will post_id ever change? Can I safely use post_id for custom queries?
- Custom Post Type Query for Sidebar Doesn’t Work on Front Page
- Custom fields (wp_post_meta) vs Custom Table for large amount of data
- Query posts based on the meta key values of logged-in users?
- How to get the intersection of two terms both from different custom taxonomies
- pagination not working for category.php (custom post types in categories)
- query_posts adding extra code to homepage
- Reworking function for counting custom post type posts count
- Recoverable Fatal Error – Object of class WP_Post could not be converted to string
- Why are some of my custom posts not showing up on my page?
- post-per-page and offset not working
- Control content before and after custom post type loop
- Custom post type, custom taxonomy, query posts only from taxonomy (children of)
- How to Make infinite loop of post
- Getting all ID’s matching a title in a custom post type
- get_posts seems to be skipping the last Post
- postsperpage value not being applied
- meta query not retrieving posts
- Incorrect ordering of custom post type based on time
- Query Custom Post Type based on text input
- Custom Post Types Not Showing Up In query_posts Result
- Custom Post Type ‘Event’: Chronological list of recurring events from meta_values in array
- date_query empty results with custom post type
- Sticky posts limit query and pagination for a custom post type
- get_posts() returns empty on custom post type /wp-admin/edit.php
- Custom post type archive page filters
- Trying to list years (for a filter) but not all years display
- custom post type get_posts() function not work
- custom post type and user post count shortcode
- get_posts wont produce a list of custom type from a given category [duplicate]
- Use WP_query to match post types based on custom field values
- minimize wp_query call to database
- Group Custom Posts Types in a Relation field of ACF
- Can I show some specific post rather than latest post?
- Why get_posts() returns empty array while I am trying to get posts from some specific taxonomies and work properly with others?
- How to set class to “current-page” on the currently viewed single post within a CPT
- Help ordering custom query by Title, Ascending
- This wp_query will not return any posts and only seems to work with post_status inherit?
- Display 2nd category, only once, as sub-heading, in the loop
- Fetch posts list from fist CPT taxonomy term and list under 2. CPT
- How to create content automatically when a post is published?
- query_post causes the posts to be loaded twice on load more posts
- Ordering custom post type by custom field without a title
- How can I list custom post by custom category?
- Query Posts From Multiple Post Types
- Return only custom post types for the page, not all
- WP Build-In Post selector for CPT
- How to apply order on custom taxonomy and custom meta key on custom post type
- send user to first page of results when reposting to page?
- How do I display the index position of a post from a custom post type?
- Custom Post Type meta value is being saved in array, instead of just the string (as value)
- Render a loop in Timber (twig for WordPress)
- Display ACF object field data using Elementor Custom Query
- Create a hierarchical list of posts that’s grouped and nested by category
- How can I show a field ID in Elementor with Request Parameter