Skip to content
WP DEV – Elvin Haci

WP DEV – Elvin Haci

Instant Web Tools and Random Walk on WordPress Development

  • Quick Web Tools
  • My WP Blog
  • Articles
    • Common WordPress Development
    • WordPress + 3rd party
    • WooCommerce Development
  • About me
  • My Premium Plugins
  • Contact

Tag: find posts by custom fields

Posted on January 1, 2021January 1, 2021

How to find posts by meta field inside your WP-Admin

To achieve this custom feature we will use very interesting and effective trick. It will not affect default wp-admin search. We will just enrich it by adding special case.

In order not to affect default search let’s set a rule when we search by meta field.

In my case, i am setting such rule. I will use # prefix when i want to find a post by meta field.

For example,

if i type “inventory” and press enter, default WP-Admin search would work.

And if i type “#inventory” and press enter, it will look up into meta fields and show results by that data. Which is cool.

Now let me share small snippet which will bring this feature into your website wp-admin.

Continue reading “How to find posts by meta field inside your WP-Admin”

Get more useful WP tricks and snippets by subscribing to my mailclub.

follow us in feedly

Instant Functions for You

Word Cloud Generator - Visualize Popular Words in a Text

Vowel cleaner - Remove vowels from the text

Brain Illusions: Craft Surprising Negative Images

Hide Kids Faces, Maintain Privacy in Photos

List to Chart - Convert your list to pie, line, bar charts

Click for more

Top Posts

  • Unlock ChatGPT Plus with non-US bank cards
  • Remove pagination trails from WooCommerce Breadcrumb
  • Solving slowness of php mail() function
  • How to modify the output of any WordPress shortcode
  • How to create downloadable PDF link that works in all mobile browsers - Chrome, Safari etc.
  • How quickly get started with Open-AI DALL-E using PHP
  • Some Useful Codes on Programmatically Creating New Order in Woocommerce
  • How to Force a Plugin to Claim Compatibility with WooCommerce HPOS
Proudly powered by WordPress