If this tutorial is not what you were looking for, you still have any questions, suggestions or concerns - feel free to let us know. Please help us to serve you better!

Your Name

Your Email

Your Message (required)

captcha

Featured templates

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

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