• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

show site description in header as a tagline

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › show site description in header as a tagline

This topic is: not resolved

Tagged: header, site description, tagline

  • This topic has 4 replies, 2 voices, and was last updated 10 years, 6 months ago by Lise.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • November 15, 2014 at 2:17 pm #131645
    Lise
    Member

    Hi,

    this is the site I'm working on: http://www.soulfulintuitives.com/

    I would like the site description to show up at the bottom of the header in the middle, (as a tagline) is that possible?

    Thanks

    November 15, 2014 at 2:55 pm #131652
    nunotmp
    Member

    Hello Lise,

    Something like this should work.

    
    add_action( 'genesis_header', 'wpz_site_description' );
    function wpz_site_description() {
    	$tagline = sprintf( '<p class="text-center">%s</p>', get_bloginfo( 'description' ) );
    	echo $tagline;
    }
    

    I use the class text-center which is a personal class that simply uses text-align: center;. You can add the css to your stylesheet and it will work.

    
    .text-center {
    text-align: center;
    }
    

    Genesis Child Themes – Follow Me

    November 15, 2014 at 3:57 pm #131672
    Lise
    Member

    Thanks nunotmp I will try it.

    I would replace the wpz with anything I want, like si ? is that right?

    November 15, 2014 at 5:18 pm #131690
    nunotmp
    Member

    Yes. wpzis just my personal prefix.


    Genesis Child Themes – Follow Me

    November 17, 2014 at 9:56 am #131857
    Lise
    Member

    It worked, but then I remembered that I have to replace the wpz to the theme name.

    Thanks so much.

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2025 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble