Hack the wordpress search query

0 0 0 0 0

Please copy and paste the code in your template or where you want and then print the $allsearch variable.

$allsearch = &new WP_Query(“s=”.$yoursearchkeyword.”&showposts=-1&order=DESC”);

Here you can $yoursearchkeyword replace with your variable or keyword –

If you need more help contact us

cheers : -)

Leave a Reply

Your email address will not be published. Required fields are marked *