why don’t you try adding:
'has_archive' => true,
to your code?
so replace this line:
'public' => true,
with this:
'public' => true,
'has_archive' => true,
Then refresh your permalinks by visiting settings/permalinks.
Related Posts:
- Custom taxonomy template not working with simple loop. Multiple CPT using the same taxonomy
- Archive page of CPT’s custom Taxonomy
- Custom post type archive page not showing on archive-posttype.php
- Create a custom archive page for a custom post type in a plugin
- Custom Post Type Settings page, choose page to display archive
- register_taxonomy with multiple object type and update_count_callback
- How to get_queried_object on multiple objects?
- Custom Post Type / Taxonomy Slug / Post Title with post type archive
- Post type archive page not working
- Maintaining WP_Query Relation Among CPT, Custom Taxonomy, Permalinks- CPT UI
- Archive page for taxonomy of custom post type
- Should I change these content meta types before building complex archive page?
- Getting taxonomy terms used by custom post type
- Archive or taxonomy pages not working for custom post type
- Create Custom Post Type Archive Page with Sub Categories Navigation Sidebar
- How to create archive page for taxonomy terms within custom post type
- Best practice for adding posts in bulk
- WordPress custom post type archive with description
- Custom post type and taxonomy permalinks – Structure
- taxonomy template for custom post type the same as the archive
- Set object terms not working on plugin activation
- Display only post types that are direct children of the current taxonomy
- how to add extra meta box or textarea into custom post types
- How can I filter by taxonomy on a custom post type’s page?
- How To Create A Custom Taxonomy 404 Page
- Custom template won’t load for a custom post type (custom permalinks used)
- Show listings from Impress Listing plugin in random order using taxonomy and terms
- Why get_posts() not returning only selected category posts from Custom Post Type?
- Adding a custom post type taxonomy template in plugin
- Custom post type templating problem
- Custom post type is showing custom home page, not archive page
- How can I make a custom post type sticky?
- Create template for taxonomy results limited by Custom Post Type
- Extending AZIndex plugin to use custom post types and custom taxonomies
- Use Custom Post Type archive page for the taxonomies term archive page
- limit value taxonomy based on previous taxonomy value wordpress
- Dynamic dropdown select values depending on other custom field value
- Number of Custom Post Types published are not being shown in the custom page
- Metabox not show in categories custom post type cmb2
- Custom post type archive page blank
- Custom Post Type slug same as page name
- How to change permalink to include custom post type
- posttype/taxonomy/term archive page 404 error
- My archive-posttype.php template is not loading
- Show all tags on custom post type
- What’s the name of the custom post type yearly archive template?
- Which Template Page Should I Use?
- Custom Permalinks For CPT and pages with parent. Advanced WordPress
- How to integrate single and archive templates for custom post type in any WordPress theme
- Permalink problems with custom post type and custom taxonomy
- sort CPT on Custom Taxonomy Archive page
- Use the custom post type archive for taxonomies?
- Show categories of custom post type and not all posts
- Taxonomy template page not working
- Getting only one post per category
- Query Posts that have Custom Taxonomy
- Multiple archives to display parent and subcategories content
- Plain links in single-class.php and archive-class.php not working
- Archive page for custom post type and custom taxonomy
- Custom post type archive – error in nav-menu-template.php
- Custom post type category permalinks and archive pages
- Displaying custom taxonomy menu in custom post type archive
- Getting Same Description in All the Custom Taxonomy Posts
- Finding the CPT archive template source
- Displaying all posts by category and showing content on click
- pagination problem listing custom post types of taxonomy in wordpress
- Posts per Page on custom Taxonomy Template
- ACF Pro Accessing fields on a Custom Post Type
- Is it possible to arrange Custom Post Types from CPTUI into a Folder?
- Filter Custom Post Type Posts by Taxonomy
- Custom taxonomy with custom post type archive page
- Insert custom taxonomy into category query
- Custom Post Type / Taxonomy / Term – what template to use to avoid 404-page?
- Custom post type post_type_link gives “page not found” on any other custom post type
- Create Inclusions and exclusions
- Custome post type “tags” pick default archive instead of custom post type archive
- Customize url from the_terms
- Custom post types not displaying per category
- Help with Multi Level Category Archive Page
- Custom post type with two templates
- Show custom taxonomy not in submenu
- How do I make my archive page look like popular reviewing sites (e.g., Polygon and Gamespot) [closed]
- Display custom post type archive on page.php template
- Multiple archives for cpt, taxonomies, terms
- How to Fix WordPress 500 Internal server error due to custom post type
- Plugin Error on activating
- Pagination fault in custom post type archive page [duplicate]
- How to assign custom post template to its custom taxonomy terms
- How to display custom post types AND regular posts separately on a shared taxonomy archive?
- Why is this custom post type defaulting to archive.php?
- Plugins for putting Custom Post Types into the Menu
- Taxonomy Query of Custom Post Displays Archive Instead of Posts
- Custom taxonomy archive page not routing?
- Archive custom template from search
- How to have a dynamic slug and rendering the archive-{post_type}.php?
- Remove plugin’s custom post type archive page and single pages [closed]
- How to Create Short Code Using Custom Post type
- Custom Post Types using wrong template (index) instead of archive-{type}.php – previously worked as expected
- Pagination not working only on Archive-Name.php using new WP_Query
- WordPress CPT archive page display sticky post first and then display the rest of the posts in same Query