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
- How to Add Custom Taxonomy To Woocommerce Plugin
- register_taxonomy with multiple object type and update_count_callback
- Is it possible to have an index page for taxonomy term for each custom post type it is assigned to?
- How to get_queried_object on multiple objects?
- Custom Post Type / Taxonomy Slug / Post Title with post type archive
- Hide child term posts on parent term pages
- Posts per Page on custom Taxonomy Template
- Post type archive page not working
- Maintaining WP_Query Relation Among CPT, Custom Taxonomy, Permalinks- CPT UI
- List all posts in Custom Post Type but group dynamically by Custom Taxonomies
- 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
- Display custom taxonomy as dropdown list
- Best practice for adding posts in bulk
- WordPress custom post type archive with description
- Custom post type and taxonomy permalinks – Structure
- Best action hook to create custom post and assign taxonomy terms to it on plugin activation?
- 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
- Display custom post type category, while in a CPT category, then the posts beneath
- 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?
- 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
- Static Front Page not working for custom theme
- Is it possible to arrange Custom Post Types from CPTUI into a Folder?
- Filter Custom Post Type Posts by Taxonomy
- Multiple Custom Post Type in Taxonomy Archive Causing White Screen
- Building Link List for Custom Tax
- Custom taxonomy with custom post type archive page
- Insert custom taxonomy into category query
- CPT UI: Connect a custom post type to a custom post type
- Custom Post Type / Taxonomy / Term – what template to use to avoid 404-page?
- get first limited words from a custom post in the archive 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
- Show index and not the archive for “Dog Custom Post” with default slug
- 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
- Making a archive gallery page for a custom post type which already has an archive page
- How to Fix WordPress 500 Internal server error due to custom post type
- Custom taxonomy in custom post type archive with pagination
- 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?
- Archive templates based on taxonomies
- Why is this custom post type defaulting to archive.php?
- title tag for custom post type remove taxonomy name from title tag
- 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