On Fri, Jun 4, 2010 at 10:37 AM, [email protected] < [email protected]> wrote:
> I spend a lot in the last weeks setting up my custom post types and > taxonomies and making my site work flawlessly with them but after upgrading > to RC1 I noticed everywhere in my theme where I used is_post_type to > determine what post type was being used to display different content wasn't > working so it would display all the content regardless of post type. is_post_type() tells you whether the post type is registered. Use is_singular(), which now takes an optional argument of the post type you wish to confirm. _______________________________________________ wp-testers mailing list [email protected] http://lists.automattic.com/mailman/listinfo/wp-testers
