adding a site description (2 posts)

  1. jimmyesl
    Posted 1 year ago #

    Hey guys,

    I'm using a 2014 child theme. I want to add a site description. I was able to do before, but now it won't show after I messed around with it.

    any ideas?


  2. Michael
    Forum Moderator
    Posted 1 year ago #

    the site description is actually shown at the top of the sidebar, using this code:

    		$description = get_bloginfo( 'description', 'display' );
    		if ( ! empty ( $description ) ) :
    	<h2 class="site-description"><?php echo esc_html( $description ); ?></h2>
    	<?php endif; ?>

    if you want to add it to the header file, find a suitable location to add the code.
    or diescribe in detail where exactly you want to show the description, so somebody might be able to help with that.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.