You could filter template_include
:
add_filter( 'template_include', 'wpse_97347_force_archive' );
function wpse_97347_force_archive( $template )
{
if ( isset ( $_GET['makemodel'] ) && empty ( $_GET['makemodel'] ) )
return get_archive_template();
return $template;
}
Not tested.
Related Posts:
- Taxonomy, Terms, and Template Files
- How to pass URL parameters for advanced taxonomy queries with multiple terms for one custom taxonomy
- Templates for Custom Post Types and Custom Taxonomies
- Get page by template?
- Custom taxonomy query for a custom post type
- Need some templating advice for templating with custom post types and taxonomies
- Custom Post Type with Nested Taxonomy and Template Files
- Custom Post Type Archive Template
- custom post type archive template per custom taxonomy term
- custom taxonomy – Template not working
- Include different loop templates in search query
- Create separate template for shared custom taxonomy with shared terms
- Trying to manage templates on a blog with lots of custom taxonomies
- How do I provide a “show all posts” link in a paginated term archive?
- Custom Post Type Taxonomies -Posts not showing in Category or Tag pages
- Create template for taxonomy results limited by Custom Post Type
- Template for custom post with custom taxonomy
- Custom taxonomy and custom post type – wrong permalinks and template
- WordPress Doesn’t Generate Taxonomy Archive
- Custom taxonomy returns 404
- Template for all categories of a custom post type?
- Migrating a taxonomy’s tags to the native category
- WordPress custom taxonomy template not working
- How can I get this request to use the Custom Post Type page template instead?
- Archive for a Taxonomy of a Custom Post type
- Template files for Custom Post Type and Taxonomy
- Main query not querying any posts in custom taxonomy template
- Loop through custom posts by taxonomy and display the titles in a list, it is repeating 8 times
- Which file/template is in charge of taxonomies for custom post types?
- How to get_term_meta on single custom post?
- Get template part with CPT and Custom Taxonomy conditionals
- How to create a template to show child terms of a MAIN taxonomy
- How to change single custom post template by custom taxonomy?
- Create a custom taxonomy template that loops through child categories in term order?
- Post template with breadcrumb needs to show page navigated from
- Custom Post Taxonomy Template Not Loading Properly
- taxonomy – templates are not loading
- Custom taxonomy with custom post type template not showing
- Custom taxonomy template for custom fields loop [closed]
- Templates for CPT not working
- Single taxonomy for different custom post types
- How should i name the .php file to show custom posts under a taxonomy’s term?
- I want to create an archive and single page for a custom taxonomy for a custom post type
- Custom Post Type tag taxonomy “Page Not Found”
- template structure for CPT not clear
- WordPress Custom taxonomy template
- How to display custom post types AND regular posts separately on a shared taxonomy archive?
- Querying multiple taxonomies in URL leads to wrong taxonomy archive
- Listing all custom post types using a specific term on the said term’s template page, in groups
- Most appropriate way to display CPT’s by children terms of custom taxonomies while retaining desired permalink structure?
- Only One Post of Custom Post Type Appearing on Template Page
- Custom Post Types using wrong template (index) instead of archive-{type}.php – previously worked as expected
- Filtering a custom post type by custom taxonomy in archive template
- get term archive url / link
- Get term slug of current post
- Permalink rewrite 404 conflict- WordPress Taxonomies/ CPT
- The Operator “NOT IN” Does Not Work In tax_query
- wp_insert_term doesn’t work with custom post type’s taxonomy
- Populate Taxonomy from Custom Posts
- Post type archive page not working
- How to get the parent’s taxonomy?
- Help with hierarchical custom taxonomies and permalinks…almost there
- How to get only one category of custom post type?
- Get URL for specific post type and current tag
- Connecting a taxonomy with a post type
- How to achieve representation of streets index with custom taxonomies
- Optimised Code for Pulling Taxonomy Posts
- Why is my custom loop not filtering correctly nor paginating?
- How to filter custom taxonomy categories on archive?
- get_terms showing all categories instead of the ones assigned to a specific post
- Custom template won’t load for a custom post type (custom permalinks used)
- Genesis filterable portfolio isotope [closed]
- Adding a custom post type taxonomy template in plugin
- Loading custom content type from ajax results?
- Query Custom posts of same taxonomy as the post itself
- 2 Templates 1 custom post type according url
- Query taxonomy of taxonomy of custom post type
- Taxonomy/Custom post type structure suggestion on a movie site
- How to make WP_Query not to show irrelevant posts?
- How to list tags from custom post type attachments?
- How to sort a WP_Query by a custom field AND ALSO filter by a different custom field
- How to display custom taxonomy term meta on custom post type
- Print all the tags from a custom post type
- How to organize custom post type list by year?
- does wp_insert_term link the term to a certain post ID?
- My template won’t apply, theme still fallback to index.php
- Custom post type category permalinks and archive pages
- add_filter get array data before display in custom post_type
- Custom endpoint filtering post by custom taxonomies
- Define multiple prefixes for custom post type
- Accessing download link from the loop with WP Download Manager Pro
- Order archive custom posts by taxonomy term [duplicate]
- Problem displaying posts for a category in a custom taxonomy
- Create Inclusions and exclusions
- Associate custom CPT with another CPT’s taxonomy and rewrite permalinks
- Same permalink structure for all post types?
- Load different template for CPT (in loop) in my plugin?
- Loop through multiple custom taxonomy terms and display posts for a custom post type
- Advise on Custom Taxonomies and Structure
- How can I produce multiple webpages with a different output based on one entry/Page/custom Page?