[wp-trac] Re: [WordPress Trac] #9940: Conditional tags can't to be used after a loop

WordPress Trac wp-trac at lists.automattic.com
Mon May 25 17:55:35 GMT 2009


#9940: Conditional tags can't to be used after a loop
--------------------------+-------------------------------------------------
 Reporter:  csseur3       |        Owner:          
     Type:  defect (bug)  |       Status:  reopened
 Priority:  normal        |    Milestone:          
Component:  Template      |      Version:          
 Severity:  normal        |   Resolution:          
 Keywords:  loop, tags    |  
--------------------------+-------------------------------------------------
Changes (by csseur3):

  * status:  closed => reopened
  * resolution:  invalid =>


Comment:

 For example, i have a page with ID 100, and there is a loop in this page.

 I make two codes in header.php and footer.php to be visible only on this
 page of ID 100:


 {{{
 <?php if ( is_page('100')) { ?>blablabla blablabla<?php } ?>
 }}}


 it works with header.php, not with footer.php ... why?

 bye


 "You can read about  the Loop or  get WordPress help, but you have not
 described a bug in WordPress. " -> i know the loop and nobody has found
 solution for the problem in my topics :)

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


More information about the wp-trac mailing list