Skip to content

Commit

Permalink
add filter for site description display, fixes #14
Browse files Browse the repository at this point in the history
  • Loading branch information
billerickson committed Dec 6, 2019
1 parent abf3f77 commit f771eb7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion header.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@
echo '<div class="title-area">';
$logo_tag = ( apply_filters( 'ea_h1_site_title', false ) || ( is_front_page() && is_home() ) ) ? 'h1' : 'p';
echo '<' . $logo_tag . ' class="site-title"><a href="' . esc_url( home_url() ) . '" rel="home">' . get_bloginfo( 'name' ) . '</a></' . $logo_tag . '>';
//echo '<p class="site-description">' . get_bloginfo( 'description' ) . '</p>';
if( apply_filters( 'ea_header_site_description', false ) )
echo '<p class="site-description">' . get_bloginfo( 'description' ) . '</p>';
echo '</div>';

tha_header_bottom();
Expand Down

0 comments on commit f771eb7

Please sign in to comment.