Changeset 3734 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/header.php
- Timestamp:
- 07/28/2016 10:55:18 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/header.php
r3695 r3734 11 11 12 12 namespace WordPressdotorg\Plugin_Directory\Theme; 13 use WordPressdotorg\Plugin_Directory\Template;14 13 15 14 $menu_items = array( … … 26 25 27 26 <div id="content" class="site-content"> 28 <header id="masthead" class="site-header " role="banner">27 <header id="masthead" class="site-header <?php echo is_home() ? 'home' : ''; ?>" role="banner"> 29 28 <div class="site-branding"> 30 <?php if ( is_ front_page() && is_home() ) : ?>29 <?php if ( is_home() ) : ?> 31 30 <h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php _ex( 'Plugins','Site title', 'wporg-plugins' ); ?></a></h1> 32 <?php else : ?>33 <p class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php _ex( 'Plugins','Site title', 'wporg-plugins' ); ?></a></p>34 <?php endif; ?>35 31 36 <?php if ( is_home() ) : ?>37 32 <p class="site-description"> 38 33 <?php … … 43 38 <?php get_search_form(); ?> 44 39 <?php else : ?> 40 <p class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php _ex( 'Plugins','Site title', 'wporg-plugins' ); ?></a></p> 41 45 42 <nav id="site-navigation" class="main-navigation" role="navigation"> 46 43 <button class="menu-toggle dashicons dashicons-arrow-down-alt2" aria-controls="primary-menu" aria-expanded="false" aria-label="<?php esc_attr_e( 'Primary Menu', 'wporg-plugins' ); ?>"></button>
Note: See TracChangeset
for help on using the changeset viewer.