I’d look into using custom post types for the repetitive parts of your permalinks. Cities can be categories, and the restaurant types can be post types. It’s the perfect use for post types, and it helps solve the problem.
Unfortunately I can only see it helping with one sub-level. If you need sub-sub-categories you’ll have to find another WordPress feature with a URL presence that you can “bend” to fit your purpose.
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
- Rewrite rule page url with category
- How can I select a primary category?
- Using URL parameters, list posts from category and custom taxonomy
- How to make custom taxonomy check boxes like ‘Categories’
- Create terms when registering taxonomy?
- 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()
- Return category slug / title from category ID
- How do I get the slug of a custom taxonomy category of a post?
- How to get the number of child categories a specific parent category has?
- How can I convert some categories to a custom taxonomy?
- “Reversable” and “Re-useable” Subcategories (or other taxonomic structure)
- Get multidimensional array that reflects category hierarchy
- Using a portfolio_category slug in wordpress URL
- Change existing taxonomy settings when using custom taxonomy
- Display Taxonomy Terms in an option tag with value being the slug
- 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?
- Get posts from specific taxonomy term
- Redirect to another page using contact form 7? [closed]
- Display custom taxonomy attached to the post on post single page
- Question on using custom structures for categories
- How do I add a tag slug to a category URL to filter posts?
- Change of category structure will cause two kinds of URLs for one post
- Echo text using is_tag
- What Must to Display the “mysite.com/category” URL?
- Same menu for different taxonomies to reach different content
- How could I write a get_categories_by_year() function?
- How to get posts using category slug in ClassiPress?
- A different permalink structure for different categories
- How to remove category name for only one category?
- How to set the same base url for two different taxonomies?
- Get WooCommerce product category list in functions.php
- Change the full slug for a specific category?
- 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?
- How can I get rid of the the category suffix–NOT “prefix” (i.e. foo-1, foo-2, etc)
- Multiple Parent Category URLs
- Converting Categories (with ACF fields) to custom taxonomies
- How can I get the categories and subcategories separately?
- get_term returns different results, sometimes empty, sometime the correct list
- Ive got a term (get_term_by) but now I want to filter it by a category it is in?
- How to display parents category and child category separately for a specific post?
- Include WooCommerce product to all child categories
- How to add current custom taxonomy slug to body class
- Admin: Navigation Menus do not show empty categories/taxonomies in the list’s search tab
- Notice: Trying to get property of non-object in : custom fields category
- add slug beside name in Admin Category Checklists
- get_category_link() for custom post type does not include custom slug rewrite?
- Hierarchical permalink structure for posts showing categories and sub-categories
- Use the category name instead of category slug in permalinks
- Targeting categories in custom fields
- Target a specific category from a custom taxonomy?
- Trying to add taxonomy to get_categories() but it’s not working. How to fix this?
- Nicer URL for viewing category of posts?
- Get Categories Where Taxonomy Equals ‘n’
- Listing all slugs?
- Get wordpress taxonomy slug name(s) to use as div class
- Display sibling categories on category page
- How to modify the output of wp_terms_checklist when used within the built-in category metabox on edit posts?
- Having a template per category? Bad for server overhead?
- WP REST API not retrieving all categories
- How to display a value inside a post with a specified category from a category custom field? [closed]
- Some categories missing on wp-admin/edit-tags.php?taxonomy=category
- List just subcategory and products of active category page in Woocommerce
- custom page for custom Taxonomy
- Grandchild Term Things Grandfather Term is It’s Parent
- Eliminate word from $term->name
- Custom page category taxonomy 404
- WP 4.7 in_category change?
- Changing CPT slug and taxonomy already registered in parent theme
- Change slug of Standard wp Post category
- Get posts of a custom post type from category from taxonomy?
- Filter By Category Dropdown List With Custom Taxonomies
- query_posts by category_name and custom taxonomy
- How to get posts by category and by choosing a taxonomy term?
- Is it possible to create an alias/custom taxonomy for a category name?
- Illegal string offset ‘taxonomy’ in
- Style a category from category list
- Change categories count to include media attachments
- How to schedule categories?
- Showing HTML if Post is In Certain Taxonomy Term
- How to get selected taxonomy or category ID if using custom walker?
- How to remove the category from post slug
- I need to exclude from a query a category and a few custom taxonomies
- Ordering categories by slug vs. name
- Let user select their own category
- Copy post taxonomy?
- Category link redirect to custom template page instead of index.php?
- Get posts in a subcategory of a chosen parent
- How to load several hierarchical categories from functions.php
- Assign a custom post to a custom taxonomy based on custom field value