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

WordPress Trac wp-trac at lists.automattic.com
Sun May 23 22:26:34 UTC 2010


#13507: Conditional tag for post type and taxonomy
-------------------------------+--------------------------------------------
 Reporter:  ojp3d              |        Owner:         
     Type:  defect (bug)       |       Status:  closed 
 Priority:  normal             |    Milestone:         
Component:  General            |      Version:  3.0    
 Severity:  normal             |   Resolution:  invalid
 Keywords:  reporter-feedback  |  
-------------------------------+--------------------------------------------
Changes (by dd32):

  * status:  new => closed
  * resolution:  => invalid
  * milestone:  3.0 =>


Comment:

 > Neither of these are conditional tags. is_taxonomy and is_post_type tell
 you if it is registered.

 Correct, Which is why this isn't working as expected.

 use is_tax() + and the result from #12588

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


More information about the wp-trac mailing list