I’m typically against using a bunch of plugins, but an option for you is to use the Relevanssi plugin. I use it along side ACF and allows you to search within those fields.
If you decide to use it, after installation/activation, go to the setting page for the plugin and scroll down to the “Indexing Options” section and under that there is a field called, “Custom fields to index”. You have a few options. Here’s the description from the plugin itself:
A comma-separated list of custom fields to include in the index. Set to ‘visible’ to index all visible custom fields and to ‘all’ to index all custom fields, also those starting with a ‘_’ character.
I typically set it to “visible” so it’ll search all of my visible custom fields.
Hope this helps.
Related Posts:
- Slow wp_posts and wp_postmeta query using Advance Custom Fields
- Use value from meta key array for use in WP_Query
- How to use meta_query to retrieve posts from multiple custom post type
- Changing the meta_query of the main query based on custom query_vars and using pre_get_posts
- ACF Relationship Field Search Filtering [closed]
- Custom WP_Query order by post_meta and (author) user_meta
- Query WooCommerce orders where meta data does not exist
- ACF datepicker meta_query Compare Dates in m/d/Y g:i a – Not in Ymd Format
- Perform query with meta_value date
- Finding all results from database within 500 miles of the given latitude and longitude [closed]
- meta_query with array as value
- Meta Query for specific months
- How do I search inside specific taxonomies in WordPress
- How to orderby meta_value_num with dollar ($) sign
- How to find exact match for search term in WP_Query? What is the additional string added in LIKE query in WP_Query?
- If two first numbers exist in wp_meta_query value
- WP_Query meta_query >= date
- Creating a custom search for a specific post type
- ACF Date Based wp_query
- Custom query based on meta key – Reduce three states to two in results?
- What is the random string I am seeing when I use get_query_var?
- WP Query with custom Shortcode
- Any number in meta key (wp query)
- Optional Meta Query
- Overwrite YoastSEO meta-tags with another page’s [closed]
- How to orderby multiple meta fields if some fields are empty
- Editing the default wordpress search
- Extend product search with meta in WooCommerce
- Meta Query relation “AND” then set array accordingly
- WP_Query with meta_query dosen’t return results
- Modify Search Query if original Query gave no results
- Include post content of linked posts in search
- Get a list of posts by specific category
- How to set up hierarchical relationships without using plugins / meta query
- Issues with search after added meta_query
- Sorting search results with custom dropdown
- How to search for meta_query LIKE or tax_query LIKE and grab these posts on search results?
- Custom query filter by ACF date custom field
- Is it possible to retrieve posts depending on meta_key LIKE condition? [duplicate]
- Why doesn’t my WP Meta Query return any results?
- WP_Query meta compare must include ALL array values
- meta_query where the meta value is not the post title
- Query multiple post types, but different order for each
- Order WP_Query by meta_key priority when ‘OR’ relation used for multiple meta values
- Multi-layered WP_Query
- ACF: How to query for a given value count of an array like field? (e.g.: How many rows has a `flexible_content` field?)
- Excluding posts from search results page with meta query not working
- Woocommerce Get Orders By Meta Value
- Multiple WP_Query args combinations according to post type
- How to do WP_User_Query for Nested Array value Inside Nested Array field
- Meta query orderby meta_value_num sorting by role first
- Query against multiple locations within single custom post type post
- WP_Query, ACF field and array
- Strange results from WP_Query
- Pre get posts sort by meta key returns no results if meta key does not exist
- WP Query. Ordering posts by another post types meta
- Add to search posts query array with post IDS which will appear first
- Search has query that will return no results
- WP Query – Search in title or author_name
- Limit default Search query to post_title
- Query by meta value (add a dropdown of all values)
- Meta query doesn’t remove placeholder escape before query
- How to show terms from another taxonomy
- Get posts meta_query by repater field
- What is the best way to reset a search on a meta_key / meta_value?
- Conditional posts in WP_query for search
- Filter posts/pages by user_role array
- Search Functionality broken by the wp 4.2 update
- The sorting of posts by a meta_query with two keys fails while separated as single queries it works
- Need help setting up a search form for wordpress [duplicate]
- Using ‘meta_query’ with the ‘pre_get_posts()’ hook disables searching for post titles
- Get posts using multiple values from ACF checkbox as meta query wordpress
- How do I subquery with custom meta fields?
- Use meta query only 3 or more results?
- Search query alteration not working for meta values
- Search results stuck on page 1
- Advanced Search – Is this possible?
- Modify WordPress Search
- Rewrite URL custom search query
- WP_Query filtering in ACF field containing dates
- compare meta_query in get_posts arguments
- How to make an activities stream mixing posts and comments?
- SQL query equivalent to WP User Query
- Order Posts by meta value AND published date
- How to reduce the number of queries?
- Query custom post type by custom taxonomy (category slug)
- Search for “2nd” also returns “22nd” in wp_query
- get posts by meta_key from inside key of post meta
- Help optimizing slow WP_Query with meta_query
- WooCommerce search products between price range using WP_Query
- Is it possible to query from external database? [duplicate]
- How do you determine if a result in a search query is a post or a page?
- `offset` WP_Query argument dont work via `pre_get_posts`
- Pagination of custom page with custom fields query
- WP_User_Query Orderby Not Working
- WordPress Query optimaization for slow query
- How to query wordpress with array of meta_values?
- Using URL variables on a custom WP_Query
- WordPress WP_Query offset parameter not working with search parameter
- Custom search: Search posts but display parent page in results