Making WordPress.org


Ignore:
Timestamp:
04/24/2014 10:19:39 PM (13 years ago)
Author:
coffee2code
Message:

Update theme for developer.wordpress.org to the version being developed on GitHub.

File:
1 edited

Legend:

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

    r69 r554  
    11<?php
    2 global $pagetitle;
    3 $pagetitle = wp_title( '&laquo;', false, 'right' ) . ' ' . get_bloginfo( 'name' );
    4 wp_enqueue_style( 'wporg-developer', get_bloginfo( 'stylesheet_url' ), array(), 1, 'screen' );
     2/**
     3 * The Header for our theme.
     4 *
     5 * Displays all of the <head> section and everything up till <div id="content">
     6 *
     7 * @package wporg-developer
     8 */
    59require WPORGPATH . 'header.php';
    610?>
    7 <div id="headline">
    8         <div class="wrapper">
    9                 <h2><a href="<?php echo home_url( '/' ); ?>"><?php bloginfo( 'name' ); ?></a></h2>
    10         </div>
    11 </div>
    1211
    13 <div id="wrapper">
     12<div id="page" class="hfeed site devhub-wrap">
     13        <?php do_action( 'before' ); ?>
     14        <header id="masthead" class="site-header" role="banner">
     15                <div class="inner-wrap">
     16                        <div class="site-branding">
     17                                <?php if ( ! is_front_page() ) : ?>
     18                                        <h1 class="site-title"><a href="<?php echo esc_url( home_url( '/reference/' ) ); ?>" rel="home"><?php echo DevHub\get_site_section_title(); ?></a></h1>
     19                                <?php else : ?>
     20                                        <span class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php echo DevHub\get_site_section_title(); ?></a></span>
     21                                <?php endif; ?>
     22                        </div>
     23                </div><!-- .inner-wrap -->
     24        </header><!-- #masthead -->
     25        <div id="content" class="site-content">
Note: See TracChangeset for help on using the changeset viewer.