[wp-trac] [WordPress Trac] #13684: is_front_page() doesn't work properly in sidebar.php

WordPress Trac wp-trac at lists.automattic.com
Tue Jun 1 19:04:11 UTC 2010


#13684: is_front_page() doesn't work properly in sidebar.php
--------------------------+-------------------------------------------------
 Reporter:  bigfoot13442  |       Owner:                                     
     Type:  defect (bug)  |      Status:  new                                
 Priority:  normal        |   Milestone:  3.0                                
Component:  Template      |     Version:  3.0                                
 Severity:  normal        |    Keywords:  is_front_page() sidebar sidebar.php
--------------------------+-------------------------------------------------
 When trying to use is_front_page() in sidebar.php it always returns true.
 I moved it into index.php and wrapped it around get_sidebar() and it
 worked fine (although did not provide the functionality I needed). After
 searching online I found a few people that had found this problem with
 wordpress MU but there were no solutions offered.

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


More information about the wp-trac mailing list