Making WordPress.org


Ignore:
Timestamp:
01/11/2018 06:52:58 PM (6 years ago)
Author:
obenland
Message:

Themes: Sync Theme Dir styles with Plugin Dir

Brings details like button color or link decorations in sync with recent updates to w.org.

Props Shital Patel for initial patch.
Fixes #3297, #3298.

File:
1 edited

Legend:

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

    r2755 r6347  
    1010require WPORGPATH . 'header.php';
    1111?>
    12 
    13 <div id="headline">
    14     <div class="wrapper">
    15         <h2 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php _e( 'Theme Directory', 'wporg-themes' ); ?></a></h2>
     12<header id="masthead" class="site-header" role="banner">
     13    <div class="site-branding">
     14        <?php if ( is_home() ) : ?>
     15        <h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php echo esc_html_x( 'Theme Directory', 'Site title', 'wporg-themes' ); ?></a></h1>
     16        <?php else : ?>
     17            <p class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php echo esc_html_x( 'Theme Directory', 'Site title', 'wporg-themes' ); ?></a></p>
     18        <?php endif; ?>
    1619    </div>
    17 </div>
     20</header>
    1821<nav id="site-navigation" class="main-navigation" role="navigation">
    1922    <ul id="menu-theme-directory" class="menu">
Note: See TracChangeset for help on using the changeset viewer.