WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm using the default Wordpress 2011 theme on a new blog I'm setting up. I've got everything basically setup fine for now. I have experience with PHP/MySQL and HTML/CSS, but haven't used WordPress as yet.

When I set the blog up, it asked for a tagline under general settings, which I provided. This is showing below the blog heading, which is fine, however I don't want it to appear in the HTML title.

At the moment the <title> element looks like this: "Blog Name | Tagline". I just want the blog name.

How can I change this?

share|improve this question
up vote 0 down vote accepted

Ah, figured it out.

In /wp-content/themes/twentyeleven/header.php, you can comment out this:

// Add the blog description for the home/front page.
$site_description = get_bloginfo( 'description', 'display' );
if ( $site_description && ( is_home() || is_front_page() ) )
    echo " | $site_description";

Then the blog tagline won't be added for the front page.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.