Amended patch to display site-title as paragraph on single posts and pages as per discussion in PR.

This commit is contained in:
Morten Rand-Hendriksen 2015-07-03 14:04:38 -07:00
parent 955cd140f8
commit 069d708834
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@
<?php if ( is_front_page() && is_home() ) : ?> <?php if ( is_front_page() && is_home() ) : ?>
<h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1> <h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1>
<?php else : ?> <?php else : ?>
<div class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></div> <p class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></p>
<?php endif; ?> <?php endif; ?>
<p class="site-description"><?php bloginfo( 'description' ); ?></p> <p class="site-description"><?php bloginfo( 'description' ); ?></p>
</div><!-- .site-branding --> </div><!-- .site-branding -->