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]
- query_posts adding extra code to homepage
- Reworking function for counting custom post type posts count
- How to show only the most recent post on my custom post type archive?
- Get only used meta_values
- How to make WP_Query not to show irrelevant posts?
- What is the ID parameter for custom post types in query_posts?
- Loop for custom post types filtered by a taxonomy
- Number of posts in the archive
- Custom query for custom post_type
- Recoverable Fatal Error – Object of class WP_Post could not be converted to string
- How to limit post per page of custom post type?
- Custom query – get_the_terms not work
- 3 random images from custom post type, each in a div with a diffrent class
- 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)
- populate array with posts
- Display custom posts randomly in custom taxonomy archive
- How to Make infinite loop of post
- Getting all ID’s matching a title in a custom post type
- why is the current page title being output?
- get_posts seems to be skipping the last Post
- Count custom post type based on two meta data
- Querying multiple values from a single key
- Not able to export large no. of posts in csv
- attach CPT data to a taxonomy
- Displaying multiple post types on home page
- Conflict between wp_list_pages and get_posts – list pages not displaying
- Pagination not working on custom query on a page
- Loop through posts of only 2 statuses
- Targeting custom post type via functions.php doesn’t work
- find custom post type post by searching its custom field with my string
- FacetWP paging custom wp_query
- Return number of all custom posts type by author in all statuses
- Is it possible to use array_walk() to append terms to an array of posts?
- custom hierarchical taxonomy and custom post type list contains surplus posts
- Can’t change posts per page in WordPress Post Type Query
- postsperpage value not being applied
- Group by custom field value (start and end times)
- meta query not retrieving posts
- Best way to create a search for custom post type by custom field values
- Dynamic category name in query post
- How to get custom post type title, excerpt, thumbnail and permalink by post ID?
- Incorrect ordering of custom post type based on time
- List all posts in taxonomy term
- Query all post types but limit to parents
- Get posts by category name
- Why the_excerpt() function returns excerpt on the Home page and trimmed content in sidebar?
- How to properly use Categories with Custom Post Types
- Can’t pull posts of a Custom Post Type based on the custom taxonomy of the CPT
- HM CMB: Post Select Field for CPT ID
- Display Posts Query with IF function
- Query Multiple Custom Post Types & Exclude a Taxonomy Term
- Custom Post type showing up in loop, regular posts are not showing up
- Query custom posts of logged in user only
- Query Custom Post Type based on text input
- Display a random customposttype2 excerpt in single-custompostype1.php that shares same taxonomy
- Getting custom post type info using get_adjacent_post
- Getting the list of the latests posts and custom type posts in the homepage
- Custom Post Type Query W/Category Dropdown
- Query all posts under one taxonomy? Why is my code not working?
- Custom Post Types Not Showing Up In query_posts Result
- How to query custom post types with multiple keys?
- Find Posts based on Child Post value
- Query for bbPress replies to current topic?
- Custom Post Type ‘Event’: Chronological list of recurring events from meta_values in array
- Showing only posts from the current user who is logged in?
- Why can’t I query more than 1 post type at a time?
- Sorting the Loop by Taxonomy Value
- Custom Query: Multiple CPTs and a taxonomy filter
- WP query_posts group by meta field related
- returning the currect URL for nested posts
- date_query empty results with custom post type
- Orderby meta_key/meta_value not displaying anything, am I overlooking anything?
- Sticky posts limit query and pagination for a custom post type
- Custom wp-query display post only today
- get_posts() returns empty on custom post type /wp-admin/edit.php
- Custom post type archive page filters
- Get_post_custom not fetching value from array wordpress
- I’m having trouble with Related Product “tax_query” ‘terms’ value
- Filling custom post type posts from a rest api
- custom post type and a “sticky” position taxonomy
- Custom post type data not displaying If I select the category from the dropdonw
- Create a post automatically if search result has zero results
- 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]
- Limiting the Number of User Posts to Their Own Posts
- Limit custom post type to the authors only on front-end!