Changeset 848 for sites/trunk/wordcamp.org/public_html/wp-content/themes/wordcamp-central-2012/header.php
- Timestamp:
- 09/10/2014 06:41:11 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordcamp.org/public_html/wp-content/themes/wordcamp-central-2012/header.php
r842 r848 18 18 <head> 19 19 <meta charset="<?php bloginfo( 'charset' ); ?>" /> 20 <meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0"> 20 21 <title><?php 21 22 /* … … 71 72 <div id="header" class="group"> 72 73 <div id="masthead" class="group"> 74 <?php /* Allow screen readers / text browsers to skip the navigation menu and get right to the good stuff */ ?> 75 <a href="#<?php echo is_front_page()? 'wc-hero-panel': 'content'; ?>" class="skip-link screen-reader-text"><?php _e( 'Skip to content', 'twentyten' ); ?></a> 76 73 77 <?php $heading_tag = ( is_home() || is_front_page() ) ? 'h1' : 'div'; ?> 74 78 <<?php echo $heading_tag; ?> id="site-title"> … … 77 81 </span> 78 82 </<?php echo $heading_tag; ?>> 83 79 84 <div id="access" role="navigation"> 80 <?php /* Allow screen readers / text browsers to skip the navigation menu and get right to the good stuff */ ?>81 <div class="skip-link screen-reader-text"><a href="#content" title="<?php esc_attr_e( 'Skip to content', 'twentyten' ); ?>"><?php _e( 'Skip to content', 'twentyten' ); ?></a></div>82 85 <?php /* Our navigation menu. If one isn't filled out, wp_nav_menu falls back to wp_page_menu. The menu assiged to the primary position is the one used. If none is assigned, the menu with the lowest ID is used. */ ?> 86 <button class="wc-primary-button menu-toggle"><?php _e( 'Primary Menu', 'adirondack' ); ?></button> 83 87 <?php wp_nav_menu( array( 'container_class' => 'menu-header', 'theme_location' => 'primary' ) ); ?> 84 88 </div><!-- #access -->
Note: See TracChangeset
for help on using the changeset viewer.