WordPress.org

Ready to get started?Download WordPress

Forums

removing tag line from page titles (2 posts)

  1. rossnickerson
    Member
    Posted 1 year 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?

    <hgroup>
    <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>
    </hgroup>

  2. WPyogi
    Volunteer Moderator
    Posted 1 year 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

Tags