Making WordPress.org


Ignore:
Timestamp:
05/20/2013 07:43:47 AM (11 years ago)
Author:
nacin
Message:

WP.org P2 child theme: Add a navigation menu to the <h2 id="headline"> (like "Make WordPress Core").

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-p2/header.php

    r7 r8  
    77        <div class="wrapper">
    88                <h2><a href="<?php echo home_url( '/' ); ?>"><?php bloginfo( 'name' ); ?></a></h2>
    9         </div>
     9                <?php wp_nav_menu( array( 'theme_location' => 'wporg_header_subsite_nav', 'fallback_cb' => '__return_false' ) ); ?>
     10        </div>
    1011</div>
    1112
    1213<div id="header2">
    1314<?php do_action( 'before' ); ?>
    14 <!--
    15     <div class="sleeve">
    16         <h1><a href="<?php echo home_url( '/' ); ?>"><?php bloginfo( 'name' ); ?></a></h1>
    17         <?php if ( get_bloginfo( 'description' ) ) : ?>
    18             <small><?php bloginfo( 'description' ); ?></small>
    19         <?php endif; ?>
    20         <a class="secondary" href="<?php echo home_url( '/' ); ?>"></a>
    21 
    22         <?php if ( current_user_can( 'publish_posts' ) ) : ?>
    23             <a href="" id="mobile-post-button" style="display: none;"><?php _e( 'Post', 'p2' ) ?></a>
    24         <?php endif; ?>
    25     </div>
    26 -->
    2715    <?php if ( has_nav_menu( 'primary' ) ) : ?>
    2816    <div role="navigation" class="site-navigation main-navigation">
Note: See TracChangeset for help on using the changeset viewer.