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

WordPress Trac wp-trac at lists.automattic.com
Sun May 23 19:45:20 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:     
--------------------------+-------------------------------------------------

Comment(by ojp3d):

 The codes are:

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

 {{{
 is_taxonomy( 'preacher' ) || is_taxonomy( 'series' )
 }}}

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


More information about the wp-trac mailing list