You can try to make use of filters in query (likely posts_where
) to make it look for match between clean value and MySQL REGEXP command (if it fits, didn’t use it myself) with your logic, run on raw value.
Related Posts:
- query usermeta from custom field
- Check & remove special characters in a field?
- Searching with Multiple (Parallel) Criteria on Custom Fields?
- How to add a prefix to existing custom fields over MYSQL query?
- How to filter post listing (in WP dashboard posts listing) using a custom field (search functionality)?
- Add validation and error handling when saving custom fields?
- Meta Query with AND & OR?
- Add custom objects/entities to WordPress
- Adding another state (spam, reject, approve) to wordpress comments?
- Filter results with custom field values and dropdown
- Making a configurable field translatable
- Is there a way to do multiple ordering on a multiple meta_query?
- Check before publishing, if already exist post with current custom field value
- HTML / Javascript in custom field textarea?
- Custom Fields Bulk Edit
- Custom Page Template [closed]
- How to show custom field’s value under post/page title in wp-admin
- Adding Properties to User Profile and Displaying in List
- ajax delete value from custom field array
- how to save multiple custom fields for a post in one go?
- Best way to add custom / magic / flutter fields into RSS feed
- How do I query for a post by custom field?
- Insert attachment ID in custom field from media uploader
- How do you create dynamic customised sections in WordPress?
- Upcoming Event: How do I sort database by custom date field, but ignore past dates?
- Delete all custom fields at once?
- How can I sort homepage by a meta value?
- Buddypress Add unserialized Profile Fields in Members Loop [closed]
- Loop to display random posts only if a custom field matches category
- Conditional custom field query
- Display only past events on that page using Visual Composer Grid Bulider
- Custom Field Create Bulk via SQL Query
- Create Pop-Up Box with Custom Field Content Inside the Loop
- Better Method for Multiple Meta Boxes
- Custom Fields – Taller editing area
- custom avatar removal
- WP 3.1 meta_query for multiple custom field values
- How to make condition, based on custom fields value?
- How to select posts from multiple categories and metavalues?
- Send email with custom fields after new draft is saved or new post published
- Order RSS content by an advanced custom field value
- Alter main archive, to show posts with meta as last
- Why orderbyb meta_value_num won’t affect the generated SQL Query order?
- I need a “Choose from existing content” popin
- For homepage images (for small business website), is it better to use custom fields or post_thumbnail?
- Get post ids sorted by meta_key
- querying a custom field
- pre_get_posts : only get posts by wp_usermeta value
- Query post by date (stored custom field meta as yyyymmdd) and differentiate across 12 months
- How can I hide custom field from users used for caching response from external api?
- frontend submit post jQuery clone row won’t save
- Is there a way to set default custom fields when creating a new post?
- Modify date query by URL parameter using pre_get_posts and $_GET
- Loop through incrementing custom fields
- Custom search SQL Query to add custom field in result
- Get text from user and display it on page
- Custom Fields Question
- How can I output the custom fields wrapping with HTML
- Custom meta boxes not saving
- The best way to collision check in WP
- How to get all custom fields with some prefix in key?
- How to exclude custom fields from search queries?
- WP-eComerce Advance Meta Tag data in descending order [closed]
- Meta Box Plugin Cloned Fields – Multiple Foreach values
- Custom Query: query by post custom meta data
- How to query posts by month based on date custom field?
- Make separate text boxes for separate WordPress Custom Fields
- Custom field bug in WordPress 3.2
- How to sort post listing on a page using custom field value?
- Adding re-type email and check it if the email match
- Odd functions.php issue in WordPress
- Counting post fields
- Custom Field Date Problem
- Approach to creating a site with this structure
- Problem with revisions only returning four results
- Search & column order by meta value in admin
- how to turn a link field into a button or link text
- Dynamically populate query source in Elementor post widget
- searching by keywords in post’s metas or pagination links problem
- select user with all meta field and field value. I am use Below Query for this ,So any of know another way to fast query instead of below query?
- Create custom query for search?
- Delete custom fields on post publish?
- When post is updated, custom metadata in text area field is overwritten
- Extend WP_Customize_Control with Multiple Field Control
- custom field functionality
- How to add an option to admin to add image that could be used as header?
- Show or hide lang=”ur” in main element
- How can I create more “create attachment” custom field – any idea?
- Adding thumbnails for non-image attachments
- Custom field in a shortcode?
- I would like to display different text on different pages
- How to check if custom field exists in this widget query
- Only show content slideshow if “slideshow” custom field exists
- Add image custom attribute [closed]
- Check if a field is capitalized?
- How to display search query as formatted text?
- Problem display
- How can I copy value from dropdown once I select it to text area as text?
- Add fields to edit in custom widget
- Can I log the searches that are returning 404 in the DB?