[wp-trac] [WordPress Trac] #13507: Conditional tag for post type and taxonomy

WordPress Trac wp-trac at lists.automattic.com
Sun May 23 19:43:07 UTC 2010


#13507: Conditional tag for post type and taxonomy
--------------------------+-------------------------------------------------
 Reporter:  ojp3d         |       Owner:     
     Type:  defect (bug)  |      Status:  new
 Priority:  high          |   Milestone:  3.0
Component:  General       |     Version:  3.0
 Severity:  normal        |    Keywords:     
--------------------------+-------------------------------------------------
 I'm using MAMP on a Mac, and trying to filter posts using conditional
 tags, but other posts are passing...

 ( is_post_type( 'sermons' ) && is_taxonomy( 'preacher' ) || is_taxonomy(
 'series' ) )

 It still doesn't work when I try just:

 ( is_taxonomy( 'preacher' ) || is_taxonomy( 'series' ) )

 I'm running the latest beta. And it is not a problem of
 wp_reset_query()... I tested without any query before.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/13507>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list