If you want to use the filter on the archive page then you have to get the second term id by using the global variable or by passing the hard value of the term id. But if you are using the filter on any other page then you can send the term id through post or get method of the form or using ajax.
Related Posts:
- Change term name only on front
- Adaptive product filters for WooCommerce
- is it possible to add “extra” table nav to edit-tags.php screens?
- AJAX filter posts on click based on category
- How can I send data to admin-ajax via JS Fetch?
- Shortcodes not resolved in AJAX call response
- Ajax, filters and shortcodes
- Restrict filter to run only inside specific function
- How to always display a specific post from the search result first
- Multiple Ajax Data Action
- What hooks/filters are there to alter selected terms on post save?
- How to display term description in empty terms archive?
- Taxonomy Custom Column – ‘manage_{TAXONOMY}_custom_column’ filter only passing 2 arguments
- Is there a filter hook that I can use to change how taxonomy term names are displayed?
- How to order by taxonomy using wp_query
- Filter taxonomy admin pagination
- Insert term when page is published – avoid duplicates after edits
- Are there actions or filters I can use for Ajax calls?
- Filter custom post type using multiple taxonomy dropdowns
- Does a plugin with a AJAX button filter exist? [closed]
- Create Search Form to Filter Through Terms
- Sorting a specific taxonomy by archive date using URL
- wp_mail works with add_action(‘save_post’, …) but not an ajax action
- Is it possible to bind a function to a filter hook via Ajax?
- How To Override A WooCommerce AJAX Function
- Create a pre-filtered version of the Media Library
- How to query if meta_key does exist or not?
- How to stop the deduction in “wp_term_taxonomy” count, when the post is deleted?
- Include get_term_link inside search
- Get URLs for AJAX Filter Checkboxes WordPress
- Best practice: Custom Post Type / Filter / Load more
- Ajax filter – show all results that contain at least one filter
- AJAX Post Filter
- List all categories that have results in a query
- Ajax Filtering Pagination
- Post filter with multiple checkbox taxonomy terms
- Change add_filter based on Ajax
- Admin view: filter posts by whether they have specific taxonomy attached
- Filter posts by categories ajax is showing all the posts
- Code restricted to dashboard, running unexpectedly in the frontend (pre_get_post and admin-ajax.php)
- WP Job Manager – display search results from custom search form in taxonomy-job_listing_category page
- Loading a sidebar on an Ajax call
- Turn wp_tag_cloud into a front-end filter
- How to create a list of terms who’s posts also have a predefined external term?
- Getting the terms from “Beautiful Taxonomy Filters” Results ot Integrate into “Ajax Load More”
- How could I create real-time filtering in this case?
- Load More : Admin Ajax 400 Bad request, returning 0
- How to stop filter from running on the index.php page?
- preg_match() not working with post content
- Order taxonomy terms wordpress
- Filter Shortcodes when using get_page
- Search a title word through query_posts (not the exact match)
- Usage of filters
- Action hook to control access to certain parts of my site
- Parse a shortcode differently based on on what it’s nested in
- Need to return shortcode text instead of the output
- Adding a filter to related posts not working
- need correction with a snippet in functions.php [closed]
- Finding actual functions added to hooks and filters
- Get terms in hierarchical taxonomy
- add_filter to the_content after apply_filters
- Add_filter rel=”prettyphoto” to WP3.4.1
- Unable to get the Parent Custom Taxonomy Terms
- Buddypress Filter Multiple Activities [closed]
- How can I query all post with currrent taxonomy term?
- Trying to display terms from custom taxonomy within function
- How to get the term description in a taxonomy term archive query?
- Avoid WP_Query’s duplicate posts with taxonomies
- Excluding posts by meta, and also keeping posts without the meta
- Taxonomy Checkbox Admin Panel
- Retrieve all term IDs of post
- Where exactly does the edit_{taxonomy} hook fire?
- Related terms – Terms that feature in post of current term
- Bug using wp_insert_term with switch_to_blog
- conditional search
- Unsetting post_tag taxonomy breaks term description for other taxonomies
- how to list parent terms only
- output custom Posts on a Page
- Combining these queries? (Same taxonomy term + same category as post)
- How to order a taxonomy’s terms numerically, from lowest to highest using get_terms
- Filter “Your latest posts”
- return get_the_tag_list with whitespace removed
- BuddyPress – A hook available to hide custom born date on public profile view?
- Use wp_list_categories to list parent categories from actual term
- Change tags url to search different site
- Elementor Image Hover + Filter Grid [closed]
- Amend taxonomy to search in wordpress admin
- How to filter with dropdown in backend for custom data
- Is there any reason for the nested filters to be applied on the first case and not in the second one?
- WordPress Conditional / Multiple Taxonomy Query
- How to redirect template_directory to subdomain relativ url?
- Pagination don’t work with active filters
- How to set a filter search for categories of blog posts in wordpress
- Can’t get term id for category archive
- Trash Bin for Categories?
- How to make a post with certain taxonomy term display first before other post with only one query?
- update_term_meta not working
- Sql query does not work well
- How to Edit Ecommerce filters URL, h1, h2 , Title
- How do I add tags to entire comments, not just their text