Making WordPress.org


Ignore:
Timestamp:
09/10/2014 06:41:11 PM (10 years ago)
Author:
iandunn
Message:

Central Theme: Add responsive styles.

Fixes #565
props ryelle

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordcamp.org/public_html/wp-content/themes/wordcamp-central-2012/header.php

    r842 r848  
    1818<head>
    1919<meta charset="<?php bloginfo( 'charset' ); ?>" />
     20<meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0">
    2021<title><?php
    2122    /*
     
    7172<div id="header" class="group">
    7273    <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
    7377        <?php $heading_tag = ( is_home() || is_front_page() ) ? 'h1' : 'div'; ?>
    7478        <<?php echo $heading_tag; ?> id="site-title">
     
    7781            </span>
    7882        </<?php echo $heading_tag; ?>>
     83
    7984        <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>
    8285            <?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>
    8387            <?php wp_nav_menu( array( 'container_class' => 'menu-header', 'theme_location' => 'primary' ) ); ?>
    8488        </div><!-- #access -->
Note: See TracChangeset for help on using the changeset viewer.