removing tag line from page titles (2 posts)

  1. rossnickerson
    Posted 3 years ago #

    I want to get rid of the tag line on my pages, for instance

    John Smith Interview / John's Blog

    the tag line being Johns Blog, I just want the title shown online to be John Smith Interview

    what do I remove out of the theme twenty eleven header code. also is this the right area of code?

    <h1 id="site-title"><span>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></span></h1>
    <h2 id="site-description"><?php bloginfo( 'description' ); ?></h2>

  2. WPyogi
    Forum Moderator
    Posted 3 years ago #

    Before making ANY changes to twenty-eleven, you need to make a Child Theme. Otherwise you will create many problems for yourself down the road when the theme is updated and/or you need to use a clean copy of the default theme for troubleshooting purposes.

    After you've done that, the easiest way to hide the tag line is using CSS and "display: none;" for that element (#site-description).

Topic Closed

This topic has been closed to new replies.

About this Topic