Skip to content
el WP in

el WP in

Random Walk on WordPress Development

  • Home
  • Articles
    • Common WordPress Development
    • WordPress + 3rd party
    • WooCommerce Development
  • About me
  • My Premium Plugins
  • Contact

Tag: find posts by meta data

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.

Thank you! Check your inbox or spam folder to confirm your subscription.

follow us in feedly

Top Posts

  • Unlock ChatGPT Plus with non-US bank cards
  • Make any search form to take a visitor to WooCommerce Search Results page instead of default WP Search Results page
  • Ready to use snippet for WP REST API
  • How quickly get started with Open-AI DALL-E using PHP
  • Rename existing WordPress Attachments files, titles

Tags

  • add google analitycs to wordpress
  • anti brute-force custom script
  • block wp-admin with custom logic
  • cloudflare
  • create wordpress plugin yourself
  • create your own plugin
  • custom wordpress shortcode
  • find slow mysql in wordpress
  • find slow queries in wordpress
  • first post
  • mysql debug in worpdress
  • mysql problematic queries in wordpress
  • php search string in files
  • prevent wp-admin from hackers
  • run php code part by part
  • search files inside wordpress
  • search inside files
  • send email via WordPress
  • sending emails via external mailserver in WordPress
  • simplest way creating wordpress plugin
  • ssl
  • use mail server in WordPress
  • woocommerce
  • woocommerce is installed
  • wordpress adsense shortcode
  • wordpress ajax divided
  • wordpress ajax part by part
  • wordpress anti brute-force
  • wordpress check plugin is activated
  • wordpress check plugin is active
  • wordpress check plugin is installed
  • wordpress detect user location
  • wordpress detect visitor location
  • wordpress development
  • wordpress geolocation
  • wordpress location filter
  • wordpress mail server
  • wordpress recursive file search
  • wordpress search in plugin and theme files
  • wordpress shortcode for google adsense
  • wordpress show products by location
  • wp-admin and attacks
  • wp ajax divided
  • wpdb debugging
  • wp security
Proudly powered by WordPress