WordPress.org

Forums

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

  1. Mag_ick
    Member
    Posted 1 year 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 1 year ago #

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

  3. Andrew
    Forum moderator
    Posted 1 year ago #

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

  4. Andrew
    Forum moderator
    Posted 1 year 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 1 year 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 1 year 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 1 year 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!

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags

No tags yet.