Remove from Blog Description

Home Forums Using Thematic Child Themes Build Your Own Custom Child Themes Remove from Blog Description

This topic is: not resolved

This topic contains 0 replies, has 1 voice, and was last updated by  susnos 4 years, 6 months ago.

Viewing 1 post (of 1 total)
  • Author
  • #4467


    Just want to share with you a piece of code to the new Thematic 2.0 that takes into account the new class “tagline” This Remove <h1> from Blog Description which is duplicated when a page is used as a front page and also adds the content into a more semantic paragraph tag, where before it was just a div.
    The original code that Scott Nix shared used the ID “blog-description”. With this you can now style the blog description with the class “tagline” instead.

    function childtheme_override_blogdescription() {
        $blogdesc = '"tagline">' . get_bloginfo('description', 'display');
        echo "\t<p class=$blogdesc</p>\n\n";
Viewing 1 post (of 1 total)

The topic ‘Remove from Blog Description’ is closed to new replies.