How to make search include data from wp_postmeta?

Posted by Prem Tiwari | Updated on

Add this to your plugin or functions.php file of your theme. The example below will include ‘your_key’ in search. You can include all your keys by repeating the array.


If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers