According to the WordPress Codex
archive-{post_type}.php
So, in your case (depending on your naming):
archive-products.php
If you have a custom taxonomy archive also, then the challenge is structuring your archive to represent the proper taxonomy template.
If you need to have a custom taxonomy archive, I would recommend that you use the post-type archive structure above, and then within the archive file, determine the taxonomy that is being used, and load a template part.
Sample psuedo-code (on archive-products.php):
$tax = get_query_var( 'taxonomy' );
$term = get_query_var( 'term' );
if ($tax == 'your_taxonomy') {
get_template_part('my_slug', 'my_name');
} else {
// get the default template part...
}
Related Posts:
- Custom Post Type Archives by Date and Taxonomy
- Page is defaulting to archive page and not designated template
- Custom Post Type Archive URL takes over page URL
- where can I see my custom post type archive template?
- get_categories for custom post type and filter by custom taxonomy (brand) and list child categories of a defined category
- Category page only displaying the posts from a custom type
- How to list custom post types?
- How to show the archive / post type description on Single templates
- Hierarchical Custom Post Types – Show only parent on tax archive?
- Custom template page with custom archives listing by user
- Create template for taxonomy results limited by Custom Post Type
- How do I check if the user is on a taxonomy term parent, child or grandchild page?
- WordPress Doesn’t Generate Taxonomy Archive
- How can I get this request to use the Custom Post Type page template instead?
- Archive for a Taxonomy of a Custom Post type
- how to remove pages loading with the archive templates
- How can I use archive-{post_type}.php theme template?
- Use the custom post type archive for taxonomies?
- Custom Post Type setup
- How to constrain the results to a specific post_type on tag archive page?
- Archive Template being used instead of Category Template for Custom Post Type
- How can I allow users to edit text that will be displayed on a custom post type archive page?
- Custom post types not showing on the standard WordPress Category page
- Archive for custom taxonomy
- Turning archive templates to a page template maintaining the slug
- Taxonomy template file not working with a taxonomy that contains a slash
- One of my headings is mysteriously coming up as a link in my CPT Archive
- Single taxonomy for different custom post types
- I want to create an archive and single page for a custom taxonomy for a custom post type
- Organising custom taxonomies and custom post types
- Custom Post Type tag taxonomy “Page Not Found”
- How to display custom post types AND regular posts separately on a shared taxonomy archive?
- How can I set up the URL for a category archive for a custom post type?
- Custom Post Type Template based on Taxonomy
- how to pass args for archive.php query?
- Show custom category archive as front page and remove taxonomy slug from urls
- Taxonomy term archive claims there are no posts, but there are. How to resolve?
- Custom Taxonomy archive with url parameters
- How to get all taxonomies of a post type?
- Renaming Custom Post Types and Taxonomies
- How to change permalink structure for custom post type and it’s taxonomies?
- tag.php doesn’t work with tags on a custom post type post?
- Assign single template to multiple custom post types?
- Add Content to Page without shortcodes
- Proper way of making custom post type landing page or archive page
- Multiple Single Post templates
- Remove quick edit for custom post type
- Count posts that have specific taxonomy term attached
- Get the ‘slug’ of a custom taxonomy
- Custom Metabox with Taxonomy Dropdown – Saving Issue
- Template tags to display custom post type posts in category template?
- paginate function in archive for custom-post-type
- create a back-end wordpress content submission using custom post type
- Include custom post type in “all posts”
- How to create archive page for taxonomy terms within custom post type
- Category and post tag archives do not include posts from custom post type
- How do I provide a “show all posts” link in a paginated term archive?
- Custom Post Types and Categories?
- Display CPT description on archive.php pages for all CPT
- Plugin templates in which directory
- Using wordpress template tags within an array
- Include custom post type single template, but respect theme override of template if it exists
- Custom post type not using custom template
- Custom Post Type Archive Page Filtering
- URL of a custom post type’s post format archive?
- Custom Taxonomy back-end customizations
- How do I share categories across multiple post types?
- Is it better to use filter for the_content in archive pages?
- Migrating a taxonomy’s tags to the native category
- How to Set Taxonomy Object Description?
- Taxonomy archive 404ing (not term archive)
- Variable not working in WP_Query
- Associate all Custom Post Types with Taxonomy
- Alphabetically sort a taxonomy.php template by post title
- Show Taxonomies with admin area for custom post type?
- How do I assign a block template (.html) to a custom post type?
- pre_get_posts works in post type archive but not in single post
- Menu’s breaking, now showing all page links on site
- Query Custom Post Type by Taxonomy
- Copying over taxonomy structure from one CPT to another
- Set generic reservation form for custom post type
- Display ONE taxonomy and its assigned pages
- handling templates and widgets for custom content types
- Page that lists publications by classifying them by taxonomy
- users post count
- How to display all terms from all taxonomies in post, but separately for each taxonomy?
- List all posts associated under custom taxonomy
- Custom post type pagination problem – page 1 and 2 show same content
- The page or ad listing you are trying to reach no longer exists or has expired
- Custom post type category link + add to menu
- Taxonomy and Custom Post type with Collpase
- Custom Post Type and Taxonomies, creating the corresponding template file and loop the data
- Custom Post Type parent slug as menu item
- Having some trouble properly displaying Custom Post Types in templates
- Custom Post Types Archives and daily/monthly joke
- query_post while (have post) get_template_part()?
- Sharing a custom taxonomy – No posts?
- show only one category posts in admin
- WordPress CPT archive page display sticky post first and then display the rest of the posts in same Query
- How to list custom taxonomy terms without the hyperlinks?