First what you are making doesn’t quite sound like a search to me. I think the more apt term for such kind of filtering is faceting.
Second, you probably are firmly in the need to write custom rewrite rules for this, Rewrite API and everything.
I think the main hold up is that your structure isn’t completely unambiguous. If I follow it right you are planning for:
/jobs/[job]
/jobs/[sector]/
/jobs/[sector]/in-[location]/
- and I would guess few more, like just location?
The issue is WP cannot outright guess if arbitrary string in URL is a job
or sector
. It relies on structure of the rule, that’s why those native URLs are like /category/[category]/
, explicit level makes it clear which taxonomy it is.
So your next steps are:
- Write out complete structure and work on it until it’s completely unambiguous.
- Use Rewrite API to implement each rule you end up with.
Related Posts:
- Extending the search context in the admin list post screen
- Advanced search form with filters for custom taxonomies and custom fields
- How can I change the admin search posts fields?
- Development of a WordPress Search Plugin – Best Practices
- Admin Area Custom Type Search By Meta Fields Without Title & Content
- Search multiple custom fields by using meta_query
- How do I Paginate Search Results for Custom Post Types?
- Search that will look in custom field, post title and post content
- Search everything (posts, pages, tags, cpt, meta)
- Search Custom Post Type with all meta attached?
- WordPress Search documentation: how to improve search query using taxonomy terms, custom meta fields?
- Backend search; include CPT meta?
- Search Custom Post Type Custom Fields
- Custom Fields vs Separate Table
- Including Custom Meta with posts_where query
- search also in taxonomy, tags and custom fields
- How to stick custom post at the top in search results
- Filter custom posts using auto populated dropdown selectors
- Including metaboxes from custom post types in global search — continued
- Displaying and searching Custom Posts
- Searching Custom Fields
- filter search custom field query
- How to let users choose where to search for posts?
- Add custom attributes to a post
- Custom Taxonomy Search result page
- search custom post type by custom fields on front end
- Category Search / Custom Post Type search on my website. Custom Post Types that are “page-like”?
- Best way to create a search for custom post type by custom field values
- Filtering custom posts by custom fields (ACF) [closed]
- Search CPT Title AND Meta
- Advanced search form with multiple custom fields
- Search form to find custom meta box generated data
- Is it good practice to search for custom posts based on custom field values?
- Advanced search form with filters for custom taxonomies and custom fields
- ACF From & To Date Validations
- How do I set all of a particular post meta to a value within the custom post type I’m in?
- Query Multiple Custom Posts by Custom Fields
- Show image gallery from a custom field
- Using advanced custom fields from one custom post type in another custom post type / using nested shortcodes
- Dynamic dropdown select values depending on other custom field value
- How to render a custom post type template with custom fields using shortcode
- Disable saving posts as draft (make all posts mandatory regardless of the post status)
- Grouping metadatas into one
- Tracking changes in admin-page so user gets warning when leaving the page
- filter custom post in rest api with custom function
- Get Posts by multiple custom fields is not working
- Woocommerce custom field search in custom post type [closed]
- What to and how to proceed with CPT to make DB small and efficient?
- Add custom field in comments form
- Pretty URL for custom search for custom post type
- Custom Fields for Custom Post [closed]
- Order Custom Post Type by Custom Field Value
- Add post location with mile radius allowing search
- Filter custom post types by a field value
- Displaying All Posts of a Custom Post Type in WordPress Multisite Backend
- Include custom post type content in search
- Repeatable Fields Metabox with Textarea (or wp_editor)
- Get post count for search result based on post type
- How to use TinyMCE Editor for one of my custom post meta field?
- Custom REST endpoints for a custom post type with custom fields
- How to Create a WordPress Plugin With Custom Post Type/Custom Field Features?
- Hierarchy and access control for Custom Post Types (CPT)
- Custom fields (wp_post_meta) vs Custom Table for large amount of data
- Auto Complete Search
- search suggest – filter post type
- How to integrate a form (Ninja Form or Contact Form 7) with Custom Post Types?
- Searching Custom Post Types
- First custom field value (out of several) displayed twice after query
- Homepage’s content is dependent on the custom field values (set automatically), how do I get homepage to update without manually updating page?
- Meta Query posts not showing on ending date of custom field
- Cannot save CPT meta box
- Cross reference custom post types
- Adding Page Templates to post but it ignored it
- How do i search authors from search form using author’s name
- Include related custom fields from one post type in another post type’s JSON feed
- Admin Custom Meta Box – Pull Last 5 Posts from Custom Post Type
- frontend image post uploader
- Remotely search WordPress sites using xml-rpc
- Is there any way to add a “custom field” to the CPT archive page?
- How to Output which matched meta_keys were found from custom_type_posts?
- Multiple Frontend Filters Using Advanced Custom Fields
- Custom Post Fields at the beginning of a Custom Permalink
- Integrate Custom Post Type Events into Calendar
- Possible to filter custom post type with multiple meta data?
- BBPress Search results in WordPress search
- Limit Search to Post Type With Apostrophe return search not found
- Hierarchical custom fields
- Search filter triggered & sort by custom post type
- How to get a custom field value of a custom post?
- Set Custom Post Type in Widget Settings for use in Widget
- Fields for different parts of a page
- Is it possible to activate customfield ‘text description’ upon activating the customfield ‘checkbox’?
- Facebook social publisher and custom post type fields [closed]
- How to display products name in a non-alphabetical order, in a custom field (taxonomy)?
- Displaying custom field according to date
- Search by tag name and category
- Importing Data from a Non-WordPress database, into WP
- custom comments form for custom post type
- Advanced search form with filters for custom taxonomies
- dropdowboxes with pre-selected custom fields optios that filters the results according seach needs