Support » Themes and Templates » adding a site description

Viewing 1 replies (of 1 total)
  • the site description is actually shown at the top of the sidebar, using this code:

    <?php
    		$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.

Viewing 1 replies (of 1 total)
  • The topic ‘adding a site description’ is closed to new replies.