Changeset 11552
- Timestamp:
- 02/15/2022 12:31:21 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-photos/header.php
r11459 r11552 27 27 } 28 28 29 $show_full_header = is_home() && ! is_paged(); 29 30 ?> 31 30 32 <div id="page" class="site"> 31 33 <div id="content" class="site-content"> 32 <header id="masthead" class="site-header <?php echo is_home()? 'home' : ''; ?>" role="banner">34 <header id="masthead" class="site-header <?php echo $show_full_header ? 'home' : ''; ?>" role="banner"> 33 35 <div class="site-branding"> 34 <?php if ( is_home()) : ?>36 <?php if ( $show_full_header ) : ?> 35 37 <h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php echo esc_html_x( 'Photos', 'Site title', 'wporg-photos' ); ?></a></h1> 36 38
Note: See TracChangeset
for help on using the changeset viewer.