How about creating those categories Cars, Tvs, Trains and Ships as sub categories of locations?
Then you could have a navigation menu containing parent categories i.e Briton, Manchester etc.
Once a parent category is navigated to you could have a menu that uses the get_terms() function with the parent argument set to the current location term ID that lists all sub categories of the current location. Something like this.
$tax = get_query_var('taxonomy' );
$current_location_id = get_term_by( 'slug', get_query_var( 'term' ), $tax );
$terms = get_terms( $tax, array(
'parent' => $current_location_id
) );
Related Posts:
- get_categories for custom post type with a specific custom taxonomy attached
- How can I add the featured image functionality to a custom taxonomy?
- Combine two taxonomies in a hierarchical tree
- How can I select a primary category?
- How to make custom taxonomy check boxes like ‘Categories’
- How to create non-unique sub-category slugs?
- How to get next previous category in same taxonomy?
- Add custom taxonomy terms to WordPress menu dynamically & append #slug to url
- Getting WordPress custom taxonomy/category?
- Display empty taxonomy terms with get_terms()
- How to get the number of child categories a specific parent category has?
- How can I convert some categories to a custom taxonomy?
- Get multidimensional array that reflects category hierarchy
- Change existing taxonomy settings when using custom taxonomy
- How to get the id from the custom category?
- How can I edit the ‘Most Used’ tab in the categories meta-box to show another custom taxonomy?
- Display custom taxonomy attached to the post on post single page
- Question on using custom structures for categories
- Admin: Navigation Menus do not show empty categories/taxonomies in the list’s search tab
- Echo text using is_tag
- How could I write a get_categories_by_year() function?
- How to get posts using category slug in ClassiPress?
- How to set the same base url for two different taxonomies?
- Get WooCommerce product category list in functions.php
- Why use hierarchical taxonomies instead of many custom taxonomies?
- Renaming default category taxonomy?
- How to Manage and link certain custom taxonomy?
- Display List of Categories Within a Custom Taxonomy
- How to add a post with new Taxonomy without assigning to default category?
- Chained drop-down menu for custom taxonomy using chained.js
- Converting Categories (with ACF fields) to custom taxonomies
- How can I get the categories and subcategories separately?
- Is There a Difference Between Taxonomies and Categories?
- Check if a post is in any child category of a parent category
- How to export and import taxonomies (category, tag and/or custom taxonomy) and their terms
- How to list all categories and tags in a page?
- wp_update_nav_menu_item() to insert categories
- Display only deepest category on a single post?
- Wrap a chosen category name with div
- How do I get the slug of a custom taxonomy category of a post?
- How to display a description of a given category from a custom taxonomy
- How to query posts from specific authors and categories using WP_query?
- Add custom taxonomy under the category title
- Category tree is flattened inside admin upon saving
- Menu Multiple Taxonomies
- wp_nav_menu not highlighting the current category when viewing a single post
- List Terms in Category
- How to get category URL with the slug?
- Open subcategories in submenu on click in primary menu
- How to add Categories to the top menu of the website?
- Set menu active state for custom posttype and category, given custom taxonomy term
- Looking for the best solution to build this Blog structure? Picture attached?
- Display Slug instead of Name
- ACF: Display category name using taxonomy field
- How to display custom taxonomies with links in filter menu?
- Class active for Archive link – looped out
- Shortcodes not working in category or tag description
- Filtering multiple categories via the URL
- Display specific categories by ID
- Add category only if post has custom taxonomy category
- Add child category to parent on post creation and save
- wp_list_categories in in nav_menu
- Drop posts from categories in MySql
- Customize category page for different custom taxonomies
- Get posts under a category with SQL
- Redirect to another page using contact form 7? [closed]
- add slug beside name in Admin Category Checklists
- Targeting categories in custom fields
- Target a specific category from a custom taxonomy?
- Display sibling categories on category page
- WP 4.7 in_category change?
- Illegal string offset ‘taxonomy’ in
- Multiple categories for one menu item?
- Change appearance based on category but post is in two main categories
- Setting selected term_id with wp_dropdown_categories?
- creating categories programmatically
- Post to inherit custom category background image from parent
- How to automatically generate custom menu item from categories?
- WP-CLI Add category as menu item main-menu
- Category post count is not correct
- List of post categories only associated to another custom taxonomy
- How can i change sort category view starting from child then parent, not alphabetically
- Create custom post type categories
- WordPress category title not update in navigation menu
- Bulk assign posts to a category using SQL (MySQL)
- How to manage a dynamic multi-level page hierearchy system?
- How to assign Categories and tags inside the TinyMCE Editor for each Image?
- outputting taxonomy hierarchy
- Categories manage
- Filter custom taxonomy posts via AJAX
- How get all media from a posts category by db?
- Hide category links if there is nothing in the categories – Main Navigation submenu item
- List all posts from custom post type by taxonomy
- Match two taxonomies to display a specific content
- Most efficient use of custom taxonomies, categories, and pages
- Right way for setting categories
- Return selected categories only in custom page meta box?
- What is the current page’s Taxonomy?
- Highlight specific menu item when custom post is page
- Display only one level subcategory in wordpress