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>
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 http://www.deardiy.com.
Thanks!