[wp-hackers] Restrict search results?

Charles E. Frees-Melvin charles.freesmelvin at gmail.com
Sat Jul 19 14:24:08 GMT 2008


I use the "Search Everything" plugin to limit my search.

2008/7/19 Viper007Bond <viper at viper007bond.com>:
> I'm in the process of converting one of my half WordPress-powered sites to
> be fully WordPress. It currently uses a custom table and custom scripts to
> output Page-like content. I will be transitioning this data to be actual
> Pages and meta content.
>
> However, I want to be able to search these Pages and only these Pages
> (rather than posts and other Pages). Is this possible? Or do I need to
> manually query?
>
> More importantly though, how can I exclude these Pages for when I want to
> search the posts (site news)?
>
> Is it just a matter of playing with WP_Query or am I SOL?
>
> --
> Viper007Bond | http://www.viper007bond.com/ | http://www.finalgear.com/
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>



-- 
--------------------------------
Charles E. Frees-Melvin
charles.freesmelvin at gmail.com
www.cefm.ca


More information about the wp-hackers mailing list