[wp-hackers] Search results filtering

Almog Baku almog.baku at gmail.com
Fri Jul 27 10:57:56 UTC 2012


you are not using the query post as excepted..
see http://codex.wordpress.org/Function_Reference/query_posts

On Fri, Jul 27, 2012 at 4:13 AM, Dmitry Tokmakov <dmitry at getmoxied.net>wrote:

> Hi all.
>
> I have a search page with the ajax "load more" functionality for search
> results, and I wonder does anybody know how to filter search results with
> some certain tag or category:
>
> what i'm trying to do:
>
> query_posts ('s="search_term"&tag="tag_name"'); but it doesnt return any
> results? Any thoughts on this?
>
> Thanks!
>
> Dmitry
> Moxie Media Group
> getmoxied.net
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>


More information about the wp-hackers mailing list