Twenty Fourteen: use display context for site description in sidebar.php.
props michelwppi. fixes #25808. git-svn-id: https://develop.svn.wordpress.org/trunk@26444 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
15728818b0
commit
2ae03311b3
@ -9,7 +9,7 @@
|
||||
?>
|
||||
<div id="secondary">
|
||||
<?php
|
||||
$description = get_bloginfo( 'description' );
|
||||
$description = get_bloginfo( 'description', 'display' );
|
||||
if ( ! empty ( $description ) ) :
|
||||
?>
|
||||
<h2 class="site-description"><?php echo esc_html( $description ); ?></h2>
|
||||
|
Loading…
Reference in New Issue
Block a user