forked from mirror/_s
Amended patch to display site-title as paragraph on single posts and pages as per discussion in PR.
This commit is contained in:
parent
955cd140f8
commit
069d708834
|
@ -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 -->
|
||||||
|
|
Reference in New Issue