[wp-hackers] Restrict search results?

Viper007Bond viper at viper007bond.com
Sun Jul 20 00:17:49 GMT 2008


I doubt that plugin will work, but it's given me the inspiration / guidance
/ examples I needed to solve my problem. Thanks! :)

On Sat, Jul 19, 2008 at 7:24 AM, Charles E. Frees-Melvin <
charles.freesmelvin at gmail.com> wrote:

> 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
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>



-- 
Viper007Bond | http://www.viper007bond.com/ | http://www.finalgear.com/


More information about the wp-hackers mailing list