Title: Altering header
Last modified: August 19, 2016

---

# Altering header

 *  Resolved [strung out](https://wordpress.org/support/users/strung-out/)
 * (@strung-out)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/altering-header/)
 * Hey, I’m currently using the twenty-ten theme on my blog [http://robots-and-spaceships.com/](http://robots-and-spaceships.com/)
 * what i’d like to do is get rid of the site title and site tagline from the top
   of my page, and instead make the header image a clickable link to the home page.
   is this possible?

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

 *  [Paul](https://wordpress.org/support/users/pcgrejaldo/)
 * (@pcgrejaldo)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/altering-header/#post-1824327)
 * Yes, it is. You can do it something like…
    1. Open header.php file 2. Look for
   the lines below and comment it out or delete it.
 *     ```
       <?php $heading_tag = ( is_home() || is_front_page() ) ? 'h1' : 'div'; ?>
       <<?php echo $heading_tag; ?> id="site-title">
       <span>
       <a href="<?php echo home_url( '/' ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a>
       </span>
       </<?php echo $heading_tag; ?>>
       <div id="site-description"><?php bloginfo( 'description' ); ?></div>
       ```
   
 * 3. Next, look for the line below…
    `<img src="<?php header_image(); ?>" width
   ="<?php echo HEADER_IMAGE_WIDTH; ?>" height="<?php echo HEADER_IMAGE_HEIGHT; ?
   >" alt="" />` change it to… `<a href="<?php echo home_url( '/' ); ?>" title="
   <?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><img
   src="<?php header_image(); ?>" width="<?php echo HEADER_IMAGE_WIDTH; ?>" height
   ="<?php echo HEADER_IMAGE_HEIGHT; ?>" alt="" /></a>` 4. Save file and check your
   site.
 *  Thread Starter [strung out](https://wordpress.org/support/users/strung-out/)
 * (@strung-out)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/altering-header/#post-1824423)
 * that worked perfectly, thank you very much 🙂

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

The topic ‘Altering header’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [strung out](https://wordpress.org/support/users/strung-out/)
 * Last activity: [15 years, 4 months ago](https://wordpress.org/support/topic/altering-header/#post-1824423)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
