Can you provide a link to your site and a little more explanation on what you are trying to achieve?
Here’s a shot in the dark guess.
Archives shows content of type ‘post’, but you can alter it to include custom post types. Add this filter to your functions.php file:
function namespace_add_custom_types( $query ) {
if( is_category() || is_tag() && empty( $query->query_vars['suppress_filters'] ) ) {
$query->set( 'post_type', array(
'post', 'nav_menu_item', 'your-custom-post-type-here'
));
return $query;
}
}
add_filter( 'pre_get_posts', 'namespace_add_custom_types' );
Related Posts:
- Custom Post type & Taxonomy URL structure
- Combining Multiple Taxonomies in one URL
- Dynamic taxonomy in permalink made all other posts NOT FOUND?
- Remove taxonomy slug when not assigning taxonomy with custom post types
- What is better: Custom Fields vs Custom Taxonomies with Terms for perfomance, scalability and better user experience
- Remove Taxonomy Slug when No Taxonomy is Assigned to Custom Post Type?
- Custom Permalink with Dynamic Taxonomy for Custom Post Type – Works, but breaks other permalinks
- Custom Post Type with two hierarchical Custom Taxonomies: strategy to generate best permalink structure
- Custom Post Type Advanced Slug
- Custom Permalink For Custom Post Type – Working Fine But Broken For Pagination
- Custom post type URL structure with site.com/custom_taxonomy_slug/post_name
- Remove Custom Taxonomy Slug only without removing Custom post type slug in permalinks
- Hide custom post type slug url from search engine [closed]
- How to query custom post types posts filtered by multiple custom taxonomies through a form selection
- Stop / prevent WordPress from updating permalinks of custom post type
- Custom taxonomy in URL showing 404
- Append date to custom post type url slug
- Genesis filterable portfolio isotope [closed]
- How can I see a list of my Custom Post Types of the last term I was in?
- Custom Post Type permalink shows wrong page: homepage/index.php
- Displaying custom taxonomy in the admin list of a custom post type
- How to hook custom taxonomies to custom post types and make the permalinks work?
- Categories of custom taxonomy don’t show any posts
- Child post with numeric only slug keeps redirecting to parent
- How to add a post slug to a url?
- Custom post type url with category
- Adding custom post category slug in permalink causes 404 error for pages and posts
- WordPress sort search results by custom order
- How to filter wp_list_categories output with some custom post type meta query?
- Permalink for a custom post type isn’t working and I don’t know why
- How to Filter custom post type by taxonomy?
- How Can I Change the Custom Post Type Slug to the Taxonomy Slug in the URL?
- Use same slug base for Custom Post Type posts, and multiple taxonomy terms
- How to have the same url structure for both a CPT and a Taxonomy?
- How to create custom url structure based on custom post type rewrite slug, taxonomy and category slug?
- create a subcatagory for a custom post type and out put url as posttype/subcategory/item
- custom-taxonomy/post_name instead of the default post_type/post_name
- Filter term taxonomy metabox in custom post type
- Show custom post archive when custom post not specified
- Show custom post type relationships by taxonomy
- How can I make the slug of the taxonomy also the slug of the custom post
- Assign same parrent Page to pages AND custom post types
- Can’t remove front from permalinks for custom taxonomy category page
- Allow duplicate slugs for custom post type with taxonomies
- Removing custom post type slug from URL
- How can I made custom taxonomies relationship?
- Nested Custom Post Type or Custom Post Type Parents?
- Customize Custom Post Type URL
- Create a custom php page and load it at a specific slug
- Permalinks /country/city/cpt/postname/
- Seamless permalinks between Custom Taxonomy and Custom Posts
- Custom post type and custom taxonomy with the same slug using the file page taxonomy only as directory
- Custom Permalinks with CPT and Hierarchical Taxonomies
- Sort and filter custom post type posts by custom taxonomy
- How to have this permalink structure: post_type/postname/custom_inner_page
- Custom Permalink Structure for Custom Post Type, Custom Taxonomy, Under a page
- Custom taxonomy returns 404
- Including taxonomy term before post type breaks top level pages
- Permalinks: custom post type -> custom taxonomy -> post
- CPT’s with landing page instead of archive – Url Rewrite?
- How to change permalink to include custom post type
- Custom post type, permalinks, taxonomies and blog posts
- Custom post type permalink tag 404
- Permalink structure with custom taxonomies and custom post type like /parent-tax/child-tax/custom-post-type-name (with no base name)
- permalink /category/post-name with custom post type and taxonomy
- Custom post type and taxonomy permalinks
- Hierarchical permalinks for custom post type and taxonomy
- set permalink for CPT
- Custom Post Type – Duplicate Page Slugs
- Custom permalink with child taxonomy terms
- Custom post type Permalinks with hierarchical Taxonomies
- Remove permalink for custom post type
- How to solve this custom post type goes to 404 page?
- Best way to specify “article type” in URL
- Template files for Custom Post Type and Taxonomy
- How do you create %post_type%/%postname%/ permalink structure?
- Rename a slug label
- Different slug taxonomy for two different CPT
- Can’t use pagination with custom taxonomy
- How to add current custom taxonomy slug to body class
- Using page slug in wp_query
- Filter posts by tax (dropdown) and meta value
- Listing all slugs?
- Template for custom post type when taxonomy is in the URL
- Permalink problems with custom post type and custom taxonomy
- Only show posts with a specific term of an associated taxonomy in a custom post type archive
- REST filters only firing when I have a param set
- How to filter a custom post type by custom taxonomy without 404
- How to get all posts related to particular category name on button click?
- how to retain the ability to modify the post slug after applying a post_type_link filter?
- Changing CPT slug and taxonomy already registered in parent theme
- Custom Post Type to replace Woocommerce products – page not found error
- WordPress custom permalink and archive link for custom post type
- Ideas on how to organize a project [closed]
- Enabling permalinks disables custom page template
- Need to return a string as permalink insted of str_replace
- Change permalinks for custom post type based on taxonomy term
- Under What Conditions Can I name my CPT the same as my CPT Page?
- Using page title as a link to term archive
- Custom Taxonomy Filter Issues