• Resolved Mag_ick

    (@mag_ick)


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

Viewing 6 replies - 1 through 6 (of 6 total)
  • Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

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

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

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

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    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>

    Thread Starter Mag_ick

    (@mag_ick)

    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?

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    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.

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘tagline display on home page’ is closed to new replies.