• Resolved delmind

    (@delmind)


    Hi,

    Thanks for a very clean and well laid out theme.

    I wanted to find out if there was a possibility to add a second tagline below the site title please?

    I am happy to insert a few lines of code, and I have tried looking into the header.php file, possibly finding where I would insert these lines, however I would not know what to insert. I am happy for the inserted lines to be a static text that I could potentially just code into the Matheson-Child theme that I have created for my site.

    Thanks…

Viewing 4 replies - 1 through 4 (of 4 total)
  • @delmind
    You are on the right track.
    This is the code that outputs your tagline in the header.php.

    <h2 class=”site-description”>
    <?php bloginfo( ‘description’ ); ?>
    </h2>

    You could simply add a
    tag and and your second tagline.

    <h2 class="site-description">
        <?php bloginfo( 'description' ); ?><br />
    SECOND TAGLINE HERE
    </h2>

    Thread Starter delmind

    (@delmind)

    Thanks batharoy …. it worked, although when I tried that in the Child-theme, it didn’t work so I ended up modifying the main theme Header.php file.

    I’m guessing that this will be erased in any future updates of the theme…

    Theme Author bandicootmarketing

    (@tinkerpriest)

    If you modify the theme files directly then they will be overwritten when you update. But adding the code to your child theme’s header.php file should work the same as added it directly to the parent’s themes header.php file.

    Thread Starter delmind

    (@delmind)

    Thanks c.bavota – that makes sense re the files in the child theme. Appreciate the support!

    It works fine now…

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘An additional (2nd) tagline?’ is closed to new replies.