WordPress.org

Ready to get started?Download WordPress

Forums

How/where to insert HTML/Css code for a Tagline? (7 posts)

  1. ArsSpiritus
    Member
    Posted 1 year ago #

    Hey,

    Currently I'm trying to insert a Tagline under my Site Title and it doesn't seem to show up in the header - i suspect the code isn't in the actual header php itself.

    On a similar site you can see it :

    IGNITE YOUR FAT TANK
    Tagline: A healthy eating plan for life

    On my site you can only see the site title.

    Any help appreciated !

    Thanks

  2. Andrew
    Forum Moderator
    Posted 1 year ago #

    Contact your theme's vendors on this issue.

  3. ArsSpiritus
    Member
    Posted 1 year ago #

    Cheers Andrew.

    Would anyone know the html code to insert words jsut under the title in the header?

  4. pacovalverde
    Member
    Posted 1 year ago #

    It doesn't seem to be there.
    In the header.php file after <h1>blah blah</h1> add <p class="tagline">blah blah blah</p>

  5. pacovalverde
    Member
    Posted 1 year ago #

    I assume you have entered the dashboard-->settings (general settings) and writen your short description?

  6. Andrew
    Forum Moderator
    Posted 1 year ago #

    The PHP code in general to get WordPress' tagline would be;

    get_bloginfo( 'description' );

    http://codex.wordpress.org/Function_Reference/get_bloginfo#Blog_Tagline

  7. ArsSpiritus
    Member
    Posted 1 year ago #

    Got it !

    Thanks for all the help !

Topic Closed

This topic has been closed to new replies.

About this Topic