[wp-hackers] Search in multiple categories
Tareq Hasan
tareq1988 at gmail.com
Sun Jan 16 13:23:44 UTC 2011
Hello all,
I need some help in a search functionality. Suppose I have a widget with
search box and there is four category dropdown. I want to search for the
query only in selected 4 categories. So what will be the procedure? and how
to give the names of category fields?
I tried with the two query form (showing with 2 cat):
(1) ?s=wifi&sa=search&cat[]=61&cat[]=62
(2) ?s=wifi&sa=search&cat=61,62
Both didn't work what I wanted.
Please help me.
--------------------------------------------
Best regards
Tareq Hasan
Blog <http://tareq.wedevs.com> | Twitter
<http://twitter.com/tareq_cse> | বিএলইউএ
- লিনাক্স টিউটোরিয়াল, টিপস-ট্রিকস, রিভিউ <http://linux.org.bd/>
More information about the wp-hackers
mailing list