[wp-hackers] Custom Post Type

Austin Matzko if.website at gmail.com
Sun Jan 27 13:44:38 GMT 2008

On Jan 27, 2008 8:30 AM, Austin Matzko <if.website at gmail.com> wrote:
> One way you can do this is setting the post_type query variable before
> the posts are retrieved, say at the "parse_query" action hook, by
> doing something like *set_query_var('group') or whatever.

*That should be set_query_vary('post_type', 'group');

More information about the wp-hackers mailing list