Ok, the problem was with my radio buttons.
<?php foreach( $regions as $region ) : ?>
<label><input type="radio" name="region" value="<?php echo $region->slug;?>" /><span><?php echo $region->name;?></span></input></label><br />
<?php endforeach;?>
I have solved this problem by giving the radio buttons a name and value and not using any symbols in that name or value. It really was that simple.
Related Posts:
- Search custom taxonomy term by name
- How do I search inside specific taxonomies in WordPress
- WP_Query Not Recognizing Taxonomy Parameter in Custom Search
- WP Query Args – Title or Taxonomy Value
- Search Query for multiple categories using ‘OR’ but having certain categories be ‘AND’
- How to show terms from another taxonomy
- Can I force WP_Query to return no results?
- WP query taxonomy input differs to output?
- Order Search Results Page by meta_value If no Value Return Remaining Results
- Tracing the life of a query
- Why is my WP_Query not working when tax_query terms are an array?
- Move posts to top of WP_Query if in certain Taxonomy?
- Custom search form with empty parameters
- Querying Multiple Custom Taxonomy Terms
- WP Query – Get WooCommerce Products with variation that is in stock
- Multiple search queries on one page
- Filter WordPress posts by between parameter
- How to Modify Taxonomy Archive Page with Search Parameter?
- How to add terms to my tax_query based off of the current post
- WP Query search for attachments and their exact title
- Display link to taxonomy archive only if it has posts with certain custom field values
- Including only current user’s posts in search
- Is it possible to dynamically get queried term AND taxonomy?
- WP Query for variable taxonomies
- Custom category search box for WordPress
- Refine search results using WP_Query
- Search Posts with Custom Fields as query
- Creating a custom search for a specific post type
- Assigning a meta_query value based on regexp to wp_query fails
- Getting Taxonomy inside WP_Query Loop
- Complex WP_Query (two post types and multiple operators)
- Remove category from query (show all posts in archive.php) pre_get_posts()
- wp_query ‘s’, search filter with pagination is not working
- Display Featured Post by Categories and Avoid duplicated posts
- Get authors by term id or slug
- WP_Query tax query part of slug
- How to Union two different conditions in one WP_Query
- Display filtered results into custom page
- Cutom wp_query for geolocation search, pagination not working
- How do I exclude the lowest level terms in a taxonomy?
- query_vars overriding WP_Query args
- Query with search and subscribers only output
- how can I override The Events Calendar query modifications?
- Post loop for all taxonomy terms
- Taxonomy order exception for specific term
- How do I get my custom query to work with search results after the first page?
- Modify Search Query if original Query gave no results
- Include post content of linked posts in search
- Replacing search results with custom external query
- Prevent author bio page from showing in search results
- How do I amend wp_query before it is run/executed?
- WordPress Custom Search Form Displaying Unexpected Results
- Get posts from multiple tax terms
- How to properly use AND / OR in custom search
- WP Job Manager plugin – Listing only the twelve job categories on frontpage order by jobs they have
- Slow Query On Search
- Loop posts based on permalink term
- How To Keep Search Title the same on paged Results
- How to get posts by category and by choosing a taxonomy term?
- How to restrict search on a certain page to only return results against custom taxonomies?
- Filter out a meta key in the Search results page with two CPT
- Query by key or author
- Don’t repeat posts from children in parent taxonomy query
- Can I make a search query which includes a space?
- Show multiple tax_query from 2 or more post_type in a single code
- get_the_terms has strange result since version 6.0
- My combination of ‘post_type’ and ‘tax_query’ not working?
- Strange behaviour of hierarchical taxonomy archive
- How can I order a post query’s results based on the number of matching taxonomy terms?
- WP Query should show No Posts when tax_query $args taxonomies don’t have associated posts
- How to make the WP query search for the “s” arg in other places too
- Excluding posts from search results page with meta query not working
- tax_query not working on custom post type
- WP_Query no result if keyword contains number
- WooCommerce WP_Query using tax_query returns no results (0 = 1)
- wp_query with meta_query and tax_query
- WordPress – Form does not filter the results of taxonomies
- How to extend WP_query to a specific table?
- Display Search Results by tag_ID in my search.php
- getting posts by tags
- How to break up output of posts for different terms on same page?
- Add to search posts query array with post IDS which will appear first
- Custom Post Type WP_Query with filters and search
- Search has query that will return no results
- Custom category page with taxonomy filters
- Taxonomy archive, categorised by other taxonomy, not hiding empty taxonomies
- WP Query – Search in title or author_name
- Get posts by similar names and categories
- taxquery taxonomy get terms
- Logging search queries for logged-in users
- pages shortcode filtering by category
- How to define a custom hierarchy for terms?
- $wp_query when new WP_Query
- Multiple Orderby is not working right
- Filtering product search results using tags
- WordPress WP_Query Search (‘s’) With Multiple Search Terms
- Custom query for certain post type OR another post type with a certain category
- Search results stuck on page 1
- Custom Taxonomy in custom REST API search
- Using WP Query, I want to include all posts in category 1 as long as they are not also in category 2