Title: wp_head() adding site title?
Last modified: August 20, 2016

---

# wp_head() adding site title?

 *  Resolved [Hidoshi](https://wordpress.org/support/users/hidoshi/)
 * (@hidoshi)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/wp_head-adding-site-title/)
 * So I’m working from the ground up and I chose to install blankslate as the theme
   I’d get started with. I’ve been modifying it into something more complicated,
   but realized I couldn’t get rid of one piece of text: the site title.
 * Now, I’ve removed the actual inline text which displays the site title and site
   description, largely because my client wants an image. That’s all fine and dandy.
   But the site title remains.
 * I removed wp_head() at one point for a temporary purpose and it suddenly also
   fixed the issue of the site name displaying. I add it back and the site name 
   comes back.
 * Now, obviously wp_head() is critical to WordPress so I can’t get rid of it. But
   how do I hide the site name?

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

 *  [tiaanswart](https://wordpress.org/support/users/tiaanswart/)
 * (@tiaanswart)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/wp_head-adding-site-title/#post-2984755)
 * do you have a url for the site?
 * 1 of 2 things (i think):
 * 1 you have a plugin that hooks to wp_head or the theme hooks to wp_head
 * 1 way to get rid of it is with CSS do a text-indent: -99999px;
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/wp_head-adding-site-title/#post-2984757)
 * `wp_head()` has absolutely nothing to do with the site’s title or its title as
   displayed in the tab of a browser. The latter is controlled by the `wp_title()`
   function in most themes.
 *  [tiaanswart](https://wordpress.org/support/users/tiaanswart/)
 * (@tiaanswart)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/wp_head-adding-site-title/#post-2984761)
 * thanks esmi however could it be that a functions hooks to wp_head and ads the
   title dynamically like a seo plugin?
 * I realize now what i said with the indent is incorrectly stated as this is not
   a title as in h1 or h2 tag but the title tag.
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/wp_head-adding-site-title/#post-2984764)
 * > could it be that a functions hooks to wp_head and ads the title dynamically
   > like a seo plugin?
 * No. They would be hooking into wp_title() and modifying its output via a filter.
 *  Thread Starter [Hidoshi](https://wordpress.org/support/users/hidoshi/)
 * (@hidoshi)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/wp_head-adding-site-title/#post-2984768)
 * The site is at [http://featherweightcreations.com](http://featherweightcreations.com)
   and the code is:
 *     ```
       <!DOCTYPE html>
       <html <?php language_attributes(); ?>>
       <head>
       <meta http-equiv="content-type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
       <title><?php wp_title(' | ', true, 'right'); ?><?php bloginfo('name'); ?></title>
       <link rel="stylesheet" type="text/css" href="<?php bloginfo('stylesheet_url'); ?>" />
       <?php if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); ?>
       <?php wp_head(); ?>	
   
       </head>
       <body <?php body_class(); ?>>
       <div id="wrapper">
       <div id="branding">
       <img src="http://featherweightcreations.com/images/feather_logo.png" class="logo">
       <a href="<?php echo home_url() ?>/" rel="home"><?php bloginfo( 'name' ) ?><img src="http://featherweightcreations.com/wp-content/themes/cardboardSamurai/images/featherweight_title.png" class="title_block"></a>
       </div>
       <div id="container">
       ```
   
 *  [tiaanswart](https://wordpress.org/support/users/tiaanswart/)
 * (@tiaanswart)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/wp_head-adding-site-title/#post-2984770)
 * cool thanks esmi
 * hidoshi remove <?php wp_title(‘ | ‘, true, ‘right’); ?> from title tag
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/wp_head-adding-site-title/#post-2984771)
 * I have to say, though, that I’m a little confused as to why anyone would want
   to remove their meta-title tag. apart from anything else, it’s often used by 
   Google in search result listings. So this is not something that I would advise,
   personally.
 *  Thread Starter [Hidoshi](https://wordpress.org/support/users/hidoshi/)
 * (@hidoshi)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/wp_head-adding-site-title/#post-2984774)
 * But in the case of <title></title> isn’t it just displaying the title within 
   the browser’s title bar? I don’t want that part going away.
 * Edit: Also, tried removing it. Still displaying the text.
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/wp_head-adding-site-title/#post-2984776)
 * >  <title></title> isn’t it just displaying the title within the browser’s title
   > bar?
 * `<title></title>` can _only_ be used to display the site’s title in the browser
   tab and in search engine results. It has no bearing on the site’s title as displayed
   within the body of a page.
 *  Thread Starter [Hidoshi](https://wordpress.org/support/users/hidoshi/)
 * (@hidoshi)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/wp_head-adding-site-title/#post-2984781)
 * So I’m still confused as to how to remove the actual site name in the body. It
   actually does vanish if I clip out wp_head() from the header, but obviously I
   don’t wanna do that. I just really want to get the text to vanish.
 * Sorry if I’m a bit net-dumb. As much as I know about kludging, this one’s escaping
   me.
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/wp_head-adding-site-title/#post-2984782)
 * You cannot remove `wp_head()`. It’s a primary hook used by WordPress internally
   as well as by many plugins and themes. Have you tired examining the site title
   using a tool like [Firebug](http://getfirebug.com/)?
 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/wp_head-adding-site-title/#post-2984784)
 * the text on the screen comes from:
 * `<?php bloginfo( 'name' ) ?>`
 * in this line:
 *     ```
       <a href="<?php echo home_url() ?>/" rel="home"><?php bloginfo( 'name' ) ?><img src="http://featherweightcreations.com/wp-content/themes/cardboardSamurai/images/featherweight_title.png" class="title_block"></a>
       ```
   
 * however, how this would be influenced by ‘wp_head()’ is mysterious …
 *  Thread Starter [Hidoshi](https://wordpress.org/support/users/hidoshi/)
 * (@hidoshi)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/wp_head-adding-site-title/#post-2984786)
 * Ahh, that fixed it. Thanks alchymyth!

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

The topic ‘wp_head() adding site title?’ is closed to new replies.

## Tags

 * [wp_head](https://wordpress.org/support/topic-tag/wp_head/)

 * 13 replies
 * 4 participants
 * Last reply from: [Hidoshi](https://wordpress.org/support/users/hidoshi/)
 * Last activity: [13 years, 9 months ago](https://wordpress.org/support/topic/wp_head-adding-site-title/#post-2984786)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
