Seems I have an answer – it was how the SQL statement was setup.
$where .= " OR (( $wpdb->postmeta.meta_key = '$meta_key' AND (UPPER($wpdb->postmeta.meta_value) LIKE '%$meta_value%') ))";
Now is the field has the string “Whistler Bike Park, Canada” but the user only searches for “Whistler”, I get the post/s returned that I expect.
Related Posts:
- How to make search include data from wp_postmeta?
- Create multiple Search functions for posts / custom post types and everything
- How Do I Use WP_Query to Run This Database Query as Search Result?
- pre_get_posts and search query for admin
- Custom search for custom post meta with pre_get_posts interferes with WP search
- Search function works improperly
- Searching by meta values showing inappropriate result
- Force is_search to always TRUE
- How to conditionally pass a parameter to wordpress search to limit post types?
- How to make search include data from wp_postmeta?
- How to exclude pages from WP search based on page title
- Modifying post content with the_post action hook
- why pre_get_posts works fine in post type archive, but not in search result list?
- Search for two strings in WP search
- Displaying number of search results for each post type
- How to query two meta fields and display results between them
- Use pre_get_posts to display search results by meta in specific order
- meta post search
- Search custom posts by meta key in admin
- pre_get_posts improperly searching revisions
- search for single meta_key with numeric array of meta values
- WP search in metadata post
- Search for meta_query does not return any result if combined with title
- search filter for search and tag page doesn’t work
- Solr vs. ElasticSearch
- Can I exclude a post by meta key using pre_get_posts function?
- Limit search to latin characters
- Display search results within the same page
- Search in WordPress – Difference of searchpage.php, searchform.php and search.php?
- How do I redirect /search/ to wordpress search template?
- Search ONLY by meta key / meta values
- Exclude top-level pages from search results
- Search in non-English language returns only one result
- How can I implement faceted search with WordPress 3.x?
- Meta query interfering with orderby relevance
- Change the Search Base in a multi language wordpress
- Search results URL without query string variables
- How to control WordPress Search Behavior?
- Get the selected term in a dropdown search
- Separating search results collectively by type
- Changing the search results destination URL
- Noindex, nofollow stuck on homepage
- Is_search not working on search results page
- Making a list of post tags in string
- Strange Search Queries in Apache Status
- WP_User_Query search with multiple search queries
- update default search function and get postmeta entries
- Need to do blank search.
- Is there a wordpress plugin enabling an autocomplete search box, then jump to page?
- Date_query problems
- Need to return a list based on Slug
- Using parent slug variable to display proper submenu not working properly
- Get Adjacent post by search query
- How to get started?
- How to reset usual $query on search page to push custom $wpdb query there?
- Search.php display results differently based on post type
- Improved WordPress search functionality and search form plugin
- Use wordpress search to display results within a post
- Sorting search results with custom dropdown
- how to search everything
- changing search result from only excerpt to full content
- Cannot pass ‘S’ parameter more than two letters
- Localization of WP theme
- How to have multiple instances of the same taxonomy in a search form
- WP + Google analytics = /search?
- Search result count not matching actual result
- How to search for post content and attached file names
- Searching for one letter returns extra empty post
- How to create a search form with multiple search fields
- Block internal search queries with pre_get_posts and regex rules
- Search Exact on WordPress – Relevannsi Solution Not Working
- REST API: Search products only in the names
- Bots using internal wordpress search
- Altering search results to handle a post meta field not working in current WordPress
- WordPress Search by tags
- WordPress search post using unicode
- Create search box on Archive Custom post type
- How to pass variable to get_search_form()?
- Why the search results are wrong in search posts form?
- Search isn’t displaying all results
- How to use regular page template for search results?
- Search only blog posts on blog page
- Auto search field without buttons, shows first result from search page
- Can I set up a search box that uses fields?
- How to Search Users on the Base of Latitude and Longitude in Users meta_key and meta_value
- Search.php Modification Needed
- Search taxonomy terms, not posts
- Re-order posts inside tax query
- I want to edit the search function
- Custom Search Query – include only custom fields and title
- How to display articles based on composed tag
- Search query with quotes
- Search Results with googlemaps
- Custom WordPress Excerpt within terms
- Need help to be able to searching by tag and title
- Ivory Search error
- How to Prevent ?keyword Parameter from Being Indexed and Stop Its Generation in WordPress?
- Search posts by meta key in admin and front
- Organizing media files (pdf) and searching based on the folders created
- Extending the search function to a specific meta field value in the admin posts table