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
- Problem making a WPQuery with ACF boolean
- When should you use WP_Query vs query_posts() vs get_posts()?
- Meta_query compare operator explanation
- meta_query with meta values as serialize arrays
- Nested meta_query with multiple relation keys
- Can I force WP_Query to return no results?
- order by numeric value for meta value
- Post_count only shows the number of results per page
- meta_query ‘compare’ => ‘IN’ not working
- Wp get all the sub pages of the parent using wp query
- Return only Count from a wp_query request?
- Use REGEXP in WP_Query meta_query key
- WP Query Args – Title or Meta Value
- How to query for most viewed posts and show top 5
- Meta query with string starting like pattern
- WP Query where title begins with a specific letter
- compare meta_query in get_posts arguments
- How to query posts based on lat-lng coordinate as post meta?
- WP_Query vs get_posts
- how to show posts that are missing a meta_value