You’re looking for custom posts, but don’t define post_type
in your query, which means it will default to the core post
post type only.
You need to incorporate
'post_type' => 'my-cpt'
into your query.
Related Posts:
- Order wordpress taxonomy parent terms by their children count
- Group Post by Custom Taxonomy 2 under Custom Taxonomy 1
- Sorting tags by name
- How to perform unit testing on proposed patches in Trac?
- Custom columns for taxonomy list table
- Remove the category/taxonomy description field?
- Add ‘Description’ to taxonomy ‘Quick Edit’
- How does Woocommerce store variation attributes, and how can they be retrieved per-variation? [closed]
- Different post sort order within different categories
- How to organize and cache additional data associated with terms?
- Child Terms not Displaying on the Taxonomy Term Admin Screen
- Set a cookie in WordPress, using a select form and Jquery
- How to add terms to taxonomy with wp_insert_terms?
- Sort posts by number of matched terms
- Set default (auto) slug prefix for Tags
- How to add automatically keyword to taxonomies when a post published, and assign them to the post
- Display Custom Taxonomy in Sidebar in Two Columns
- Custom taxonomy archive – No posts found [closed]
- Display parent taxonomy name and list child taxonomies below it?
- Count argument in get_terms has no effect on ouput/doesn’t work
- Conditional tag affecting taxonomy term and its children?
- Filter taxonomy terms using multiple id in the edit-tags.php
- Getting the parent from the wp_term_taxonomy
- Organising Taxonomy categories
- Variable in Array Not Working
- How to list 2 taxonomy terms for a post, based on their hierarchy
- Displaying all terms of a custom taxonomy
- Showing custom taxonomy column in taxonomy category listings immediately after create category
- Use get_terms to get post_tags but limit to a taxonomy
- Plugin to assign parent category on multiple taxonomy terms
- Pagination on taxonomy archive pages breaks
- Hook for taxonomies needed
- How can I increase the length for the taxonomy term slug?
- how to show only last child terms of a taxonomy
- Check for taxonomy archive on search results page
- Use a CPT as a taxonomy
- How to list taxonomy terms in reverse order?
- how to display only the sub category names of the taxonmoy
- Adding tag’s featured image to tag archive
- Taxonomy URL Rewrite
- Ordering Taxonomies / Changing term_id
- Fetch and ACF image field from a custom taxonomy outside category/archive page? [closed]
- How to restrict users in edit post that can just select exists tags? not add new
- Changing the default taxonomy key length
- Adding taxonomy terms based on custom field
- Multi Taxonomies same terms
- Make taxonomy terms appear in the order they were made
- How to display posts via custom taxonomy terms using checkboxes?
- What does ?cat=2-5-results mean at the end of URLs?
- Display a tag only if there is a description
- Query Custom Post Type by Taxonomy Meta Value
- Taxonomy – Exclude post format from showing on page
- Advice on how to build multiple cross-tagged content types
- Return Taxonomy Name for Each Term
- Taxonomy list names with lowercase
- Test if taxonomy on current page has at least one term with more than one page tagged with that term
- Modify output of wp_dropdown_categories to add term IDs to each option
- How to display only the direct children of a term on a taxonomy page
- Get an array of custom taxonomy with posts inside each items
- Sort results without WP_QUERY?
- Display posts from tagchildren of taxonomy tagparents
- If has_term, load other theme
- archive page sidebar not working
- Tax Query trouble
- Bug using wp_insert_term with switch_to_blog
- Get something out from taxonomy
- get_term_by with a variable
- Rewrite slug for WP core taxonomies
- $_POST sometimes empty even though isn’t when using edited_[taxonomy] hook
- ACF Taxonomy in Loop
- Unique IDs for Post Types and Taxonomies
- How to display acf repeater in tag archive page?
- JS POST update data taxonomies
- Can’t display multiple terms with get_the_terms
- How do I export categories, site stats, comments and posts from wordpress to excel
- Make taxonomy query dynamic
- Get Term ID by Description
- Can lots of tags affect performance?
- WordPress get parent category taxonomy
- how to echo a custom taxonomy term from an array of term
- How to add some filter to Category Taxonomy
- taxonomy tags..it is not working
- Recent posts by taxonomy and filter by tag
- How to show amount of post in a taxonomy with advanced custom fields?
- Organize content by month? SQL statement?
- Display Custom Column in CPT Taxonomy
- get term slug from current posts’s custom taxonomy
- Why do my offline development site and online live site behave differently?
- How to Display Child Taxonomy Posts
- Output Taxonomy Title as Part of Result
- Filter custom taxonomy table
- Add a tag like a post
- Passing values by form to create a query
- Taxonomy link not working (leads to 404 page)
- Adding Advanced Custom Fields to posts without hyperlinks
- Show Taxonomy Child Terms (name and image) on Parent Term Page
- How to display a term of taxonomy
- is there a hook filter to get custom fields for taxonomy name instead of the default field?
- Hiding a tag from display
- taxonomy change to post/page type