Refer to the Template Hierarchy to see why this doesn’t work. archive-{$post_type}.php
is only for custom post type archive display, the format for custom taxonomies is taxonomy-{$taxonomy}.php
.
Related Posts:
- Custom Post Type Settings page, choose page to display archive
- How to get the custom post type from an archive page?
- Loading custom page template via plugin
- Pagination problems with multiple custom post type archive pages
- Custom taxonomy template not working with simple loop. Multiple CPT using the same taxonomy
- WordPress custom post type archive with description
- CPT: archive-cpt.php VS custom page template
- Custom post type and taxonomy permalinks – Structure
- Navigation menus not showing because of custom post type filter
- Rewrite URL for only archive page (custom post type)
- Archive slider for CPT
- How To Create A Custom Taxonomy 404 Page
- Archive template for custom post type only lists first 10
- Change archive page template using pre_get_post
- Custom post type is showing custom home page, not archive page
- Isotope Filtering with Bootstrap Tabs – Custom Post Type Query Loop in each Tab (Have to click twice to filter)
- Why is my site using index.php instead of archive?
- Custom post type archive page blank
- My archive-posttype.php template is not loading
- Custom Post Archive is not working
- Which Template Page Should I Use?
- Display custom post types in wp_list_pages
- Pagination doesn’t function properly for archive of a custom post type set as the front page
- How to integrate single and archive templates for custom post type in any WordPress theme
- Custom post type permalink uses archive page to display posts
- Taxonomy template page not working
- CPT with its own category and tag url
- Custom Post Type Archive template not being called
- Can’t replace the default sidebar with a custom sidebar on Custom Post Type in Genesis
- How do I override the default number of items to be listed on an archive.php page? [duplicate]
- Best way for a plugin to define a custom post type archive template?
- Is possible register two archive pages for single custom post type?
- Archive page of CPT’s custom Taxonomy
- Pagination links for custom post type shows correct number of links, but links result in Page not found
- Finding the CPT archive template source
- ACF Pro Accessing fields on a Custom Post Type
- Multiple Custom Post Type in Taxonomy Archive Causing White Screen
- get first limited words from a custom post in the archive page
- Iterating over custom post type archive returns incorrect first ID
- Show index and not the archive for “Dog Custom Post” with default slug
- Custom post type archive page not showing on archive-posttype.php
- Custom post type with two templates
- 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
- Get Non-Paginated Index of Post in Paginated Query
- 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
- Organizing Custom Post Type Archive Template
- Two different archive pages showing the same content
- Archive custom template from search
- how to pass args for archive.php query?
- Pagination not working only on Archive-Name.php using new WP_Query
- How to make posts under custom post type not generate a URL / post
- WordPress CPT archive page display sticky post first and then display the rest of the posts in same Query
- Get custom post type slug for an archive page
- Custom Post Type as Page parent
- Creating a Custom Post Types dropdown in a Meta Box
- How I check if the same post slug has not been used before publishing?
- User roles – enable custom posts disable posts
- WordPress Admin Panel search posts with custom post meta values along with title
- WordPress Gutenberg-Block with ESNext (withState, withSelect)
- Registered Post Type Isn’t Showing in Admin Menu
- Multiple templates for custom post type
- Link users to a custom post type
- Conditional regex in add_rewrite_rule() for specific query filters & pagination
- Custom post types and tag archive pages/permalink structure issue
- Update Post Meta for a logged in user
- Problem querying Custom post type by custom fields
- WordPress uses url different from defined in rewrite arg of custom post type
- How to create a gallery page with categories?
- How to update post meta on uploaded image from a custom form?
- Display taxonomy terms, child terms and posts in a template
- Page for custom post type
- Getting thumbnails of a custom posts featured images in a page-templates metabox
- can these 3 queries be re-written as 1 query?
- detect when a custom post is cretaed for the first time
- custom post type archive page has 404 error even though has_archive is true
- Make homepage the newest post of a custom post type
- Add “Select All” to custom taxonomy
- Custom fields not saving in newest WordPress 3.0.1
- Only show columns in custom post type?
- How to constrain the results to a specific post_type on tag archive page?
- Custom Post Type – Portfolio no longer works
- Having Issue on Getting Metabox Checkbox Value
- add_action ‘init’ from inside a class for custom post types
- Create a post automatically if search result has zero results
- Urgent – WordPress keeps creating posts
- ACF field check value of field on all other articles
- Bulk trashing post ‘fails’
- Do not load the categories in Category.php
- Custom Post didn’t display on tags page
- How do I resolve obtaining the dashboard features created with CPT UI in localhost onto my live site?
- Displaying the Taxonomy and a Queried Term on a taxonomy.php page?
- Custom post type not being pulled in widget
- Custom post type updated to support comments, yet comments don’t appear
- Register a title automatically with a relationship field
- Woocommerce product page is not showing custom css [closed]