[ Index ] |
PHP Cross Reference of WordPress Trunk (Updated Daily) |
[Summary view] [Print] [Text view]
1 <?php 2 /** 3 * The Sidebar containing the main widget area 4 * 5 * @package WordPress 6 * @subpackage Twenty_Fourteen 7 * @since Twenty Fourteen 1.0 8 */ 9 10 ?> 11 <div id="secondary"> 12 <?php 13 $description = get_bloginfo( 'description', 'display' ); 14 if ( ! empty( $description ) ) : 15 ?> 16 <h2 class="site-description"><?php echo esc_html( $description ); ?></h2> 17 <?php endif; ?> 18 19 <?php if ( has_nav_menu( 'secondary' ) ) : ?> 20 <nav class="navigation site-navigation secondary-navigation"> 21 <?php wp_nav_menu( array( 'theme_location' => 'secondary' ) ); ?> 22 </nav> 23 <?php endif; ?> 24 25 <?php if ( is_active_sidebar( 'sidebar-1' ) ) : ?> 26 <div id="primary-sidebar" class="primary-sidebar widget-area" role="complementary"> 27 <?php dynamic_sidebar( 'sidebar-1' ); ?> 28 </div><!-- #primary-sidebar --> 29 <?php endif; ?> 30 </div><!-- #secondary -->
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated : Thu Nov 21 08:20:01 2024 | Cross-referenced by PHPXref |