WordPress.org

Ready to get started?Download WordPress

Forums

Spun
[resolved] tagline display on home page (7 posts)

  1. Mag_ick
    Member
    Posted 10 months ago #

    Hi
    How do you get the tagline (entered within the customize tab within Appearnaces) to show on the home page?

  2. Andrew
    Forum Moderator
    Posted 10 months ago #

    You need to start by creating a Child Theme if you haven't already.

  3. Andrew
    Forum Moderator
    Posted 10 months ago #

    Then copy header.php from Spun and paste it into your Child Theme directory.

  4. Andrew
    Forum Moderator
    Posted 10 months ago #

    Edit header.php from within your Child Theme directory and underneath this line:

    <h1 class="site-title"><a href="<?php echo home_url( '/' ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1>

    Add this:

    <h2 class="site-description"><?php echo esc_attr( get_bloginfo( 'description', 'display' ) ); ?></h2>
  5. Mag_ick
    Member
    Posted 10 months ago #

    Hi Andrew
    I copied the header file within Spun and added the line where stated.
    Being php does this need to be uploaded via the FTP route as someone suggested earlier. I pasted the code into CSS Manager, which has been working beautifully, but the change didn't take place. Or could it be that I have done something wrong in copying the code rather than being CSS Manager?

  6. Andrew
    Forum Moderator
    Posted 10 months ago #

    The header.php file needs to be uploaded via FTP and your hosting providers can help you with this. You just need to copy the header.php from the Spun theme and paste it into your Child Theme.

    This change doesn't require any CSS.

    You'll need to add some more PHP afterwards to get the tagline only to appear on the home page, but we'll get to that later.

  7. deardiy
    Member
    Posted 5 months ago #

    Hi! If I follow the steps above, how do I get the tagline to only appear on the home page? My site is http://www.deardiy.com.
    Thanks!

Reply

You must log in to post.

About this Theme

About this Topic

Tags

No tags yet.