Categories

Featured templates

WordPress. How to display tagline if it is not displayed by default

Carey Burns April 15, 2015
Rating: 3.0/5. From 3 votes.
Please wait...

WordPress. How to display tagline if it is not displayed by default

Our Support team is ready to present you a new tutorial that shows how to display the site tagline in WordPress (if it is not displayed on your site by default).

how_to_display_tagline_1

  1. The tagline can be added/edited in Settings > General section of your WordPress Dashboard:

    how_to_display_tagline_2

  2. In case it is not displayed on your website by default, please navigate to Appearance > Editor.

  3. Open file static-logo.php from the list on the right. Make sure you have selected themeXXXXX files.

  4. Add the following code before the last </div> tag:

    	<?php $tagline = get_bloginfo('description'); ?>
    	<?php if ( $tagline!='' ) { ?>
            <?php if(of_get_option('logo_type') == 'text_logo'){?>
    		  <p class="logo_tagline logo_tagline__style1"><?php bloginfo('description'); ?></p><!-- Site Tagline -->
            <?php } else { ?>
              <p class="logo_tagline"><?php bloginfo('description'); ?></p><!-- Site Tagline --> 
            <?php } ?>
    	<?php } ?>
    	 
  5. Save changes to file when you are done:

    how_to_display_tagline_3

  6. Check the result on your website

Feel free to check the detailed video tutorial below:

WordPress. How to display tagline if it is not displayed by default

Themes for Wordpress Websites
This entry was posted in WordPress Tutorials and tagged display, tagline, WordPress. Bookmark the permalink.

Submit a ticket

If you are still unable to find a sufficient tutorial regarding your issue please use the following link to submit a request to our technical support team. We'll provide you with our help and assistance within next 24 hours: Submit a ticket