How to filter post listing (in WP dashboard posts listing) using a custom field (search functionality)?

Written by  on October 14, 2016 

Despite the fact I googled a lot, I’ve not found the answer to a very simple question :

I have some posts with a custom field (i.e. supplier_name). I would like to be able to search and filter my posts according to this custom field. In other words, in the admin posts listing, I would like to have a search box (named “Supplier name”) where I can type in a value (ex. “IBM”) and then, click on a search button that will give me back all the posts that have a custom field named “supplier_name” and, if so, the value of the custom field will be “IBM”.

How can I do this ?

Category : Wordpress

Tags :