You will need to use this code:
$the_query = new WP_Query( array(
'post_type' => 'courses',
'tax_query' => array(
array (
'taxonomy' => 'courses_category',
'field' => 'slug',
'terms' => 'yourterm'
)
),
) );
while ( $the_query->have_posts() ) :
$the_query->the_post();
// Show Posts ...
endwhile;
You can convert this in shortcode and just append it on your page trough your wordpress content editor or just insert this where you want to show your posts.
Check Codex or this link
Related Posts:
- Remove Custom Taxonomy Metabox from Custom Post Type Screen
- Get terms by taxonomy AND post_type
- How to Add Custom Taxonomy To Woocommerce Plugin
- How to get the posts of a custom taxonomy term
- Permalink Structure for Multiple Post Type Archives by Taxonomy
- How can I rewrite URLs to pass taxonomy and post type values to the query?
- Remove Trash / Delete option for Custom Post Type / Taxonomy
- How to filter custom post types by custom category taxonomy
- Highlight menu item when on a custom post type?
- Custom Post Type Permalink For Parent/Child, 404 Page Not Found Error
- remove support for ‘Categories’ for a custom post type
- How to setup a Custom Taxonomy Term template
- Hide child term posts on parent term pages
- How to select one major category (or custom taxonomy) for a custom post type?
- Custom taxonomy & post slug permalink
- Retrieve a specific field from taxonomy term through advanced custom fields [closed]
- List all posts in Custom Post Type but group dynamically by Custom Taxonomies
- Custom Taxonomy List links being re-written
- Want to filter only parent post in admin area
- Custom Meta Boxes – Nonce Issue – Move to trash issue
- Child and grandchild taxonomy listings – 404
- Limit taxonomy results to a single cpt
- Bulk 301 redirect for custom post type
- Display custom taxonomy as dropdown list
- Automatically Add a Category to a Custom Post Type
- Associate Taxonomies Across Post Types
- Custom Permalink Tag breaks Pagination
- ‘category__and’ for custom taxonomy?
- Query to change custom post type with specific category
- Custom Post Type and Custom Taxonomy Permalinks
- Relationship between two taxonomies and a custom post type [closed]
- Sharing a custom taxonomy with Multiple custom post types
- next_post_link on custom taxonomy
- Show Two custom Post type and their posts on category page
- Insert HTML inside link in a walker
- Change Permalink Structure for Tag.php template
- How to bulk copy custom fields between custom posts?
- get_attached_media() on author page not working
- CPT UI change custom taxonomy url
- Get post from custom post type order by two taxonomies
- Show posts from two or more custom taxonomy terms
- Custom Taxonomy Archives on Custom Post type Page [duplicate]
- Custom taxonomy and custom post type – wrong permalinks and template
- How can I make the slug of the taxonomy also the slug of the custom post
- How to list custom taxonomies in the back end
- How do I display the grand child items of a taxonomy term?
- Is it better to use WordPress Custom Post Types or Taxonomies?
- Custom taxonomy returns 404
- How to get custom posts sub category link
- Top Level pages in wordpress giving 404, but child pages working fine
- Query posts with double taxonomy
- get_the_title() is returning results from previous loop
- Loop to display custom post type from a custom Taxonomy
- Custom query – get_the_terms not work
- Creating two loops based on different logic
- How to select a template for a custom post type?
- category list with cutom post count
- Custom post type and taxonomy cross registration [duplicate]
- How to create a template to show child terms of a MAIN taxonomy
- How do I add new post formats to twenty fourteen theme?
- Foreach loop returning more than one item when querying taxonomy
- Most viewed post of custom post type
- Sorting the Loop by Taxonomy Value
- Custom archive page for custom taxonomy and pagination issue
- Ordering by meta value not working
- Custom taxonomy, post type, and URL permalink structure
- Getting Same Description in All the Custom Taxonomy Posts
- Get all post under custom post type grouped by custom filed value in custom taxonomy
- Order custom post type by taxonomy
- Check that a slug is present in the get_terms request
- I have a random letter appearing before my content. Where to start looking for the cause?
- Tags being removed upon updates to related posts: ACF/Genesis/WP5.4.1
- How can I output a post’s custom taxonomies to a two column list?
- Taxonomie cpt with acf
- How to display custom post type pagination buttons when processing AJAX request
- How to Use A Custom Post Type as Taxonomy for Another Custom Post Type
- Pagination with a custom post type
- taxonomy – templates are not loading
- week days sorting based on starting day
- One-Time Script TimeOut for Large Data
- Not Able to List CPT Based on Taxonomy Term
- Filter Term By Parent Term – Custom Post Type
- Display all Custom taxonomy terms and their relevant custom posts
- CPT Efficient way to display posts from different categories with custom query
- Best way to group posts based on custom post type terms
- How to create default taxonomy term for a custom post type? [duplicate]
- Extensive search filtering and results->PDF in the front-end
- redirect old post type url to new structure url
- Render custom taxonomy query as single template
- Custom meta-box for all custom post types
- title tag for custom post type remove taxonomy name from title tag
- Display and Allow users to edit their own profiles
- Remove custom taxonomy ‘post-type’ from post URL
- Create a page selector using taxonomies
- Advanced search form with filters for custom taxonomies and custom fields
- Building a List of Posts grouped by custom taxonomy as the section header only to be displayed if at least one post is in that tax
- Custom My account page and custom page for editing posts
- 404 Error On Custom Taxonomy Pages 2, 3, etc
- Dynamically count the number of custom post types associated to a custom taxonomy
- Taxonomy Archive URL + Template