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”
- what is __return_false in filters
- Passing Additional Parameters to add_filter Callable
- How can I add an Author filter to the Media Library?
- Change upload directory on custom plugin page
- Modify Term Update Redirection
- How to use the_excerpt in a filter hook?
- Add wrapper to only youtube videos via embed_oembed_html filter function
- Possible to filter the posts or categories that XML-RPC users see in their mobile application?
- wp_link_pages output appears twice
- How can I remove links from the function “get term list”?
- How do I pass the value from a foreach loop to an add_filter function? [closed]
- Demo Import changes terms ids
- Change WordPress RSS link with filter?
- Pass array of taxonomy terms to wp_query
- How to check the terms in single custom post type template
- Use add_filter on concatenated string variable
- How to filter meta_values using REST API
- Admin Backend – Search Pages only by title
- How to hide Ads in between posts on AMP? [closed]
- Wrong post_status notice after wp_insert_post_data
- BBPress changing default group activity
- Comment search plugin
- Filter the_content to add something before each element?
- How to display the content HTML of a page without displaying the gallery code as well
- Display custom taxonomy attached to the post on post single page
- Prevent reset password specific user role
- Change AJAX filter from POST to GET for URL Parameters
- Why current_user_can(‘edit_comment’) always true?
- Redirect after post deleted
- How to stop filter from running on the index.php page?
- Order taxonomy terms wordpress
- Filter Shortcodes when using get_page
- Usage of filters
- Where exactly does the edit_{taxonomy} hook fire?
- Related terms – Terms that feature in post of current term
- 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?
- Show uploaded pdf files dynamically and filter by month name
- How can I pass instance via apply_filters as a parameter?
- Add filter return false not working
- How to take shortcode and content separately from a page?
- Get all posts for custom taxonomy term
- Cutting off excerpt with first sentence
- Change URLs in default WordPress slider to relative from absolute
- Displaying subcategories and then posts in taxonomy template
- Get taxonomy url, name, post count & image
- What action/filter can be used for modifying the page to be rendered?
- How to add more than one custom metadata as filter on the post list page?
- Related Posts by taxonomy using Advance Custom Fields Plugin
- Add Default WordPress Formatting To Data From External SQL Tables?
- Display woocommerce product_cat child terms with thumbnails
- filter a list by gender
- Can you call a filter hook by “add_action”?
- Why isn’t this add_filter function working as expected?
- Adding filter to the Contact Form 7 response