To remove the blog title from the WordPress Theme Twenty Ten do the following in the header.php file. This will remove both the title and blog description as well as move the header to the top off the page.

Remove

<?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’ ); ?>

<?php $heading_tag = ( is_home() || is_front_page() ) ? ‘h1′ : ‘div’; ?> <<?php echo $heading_tag; ?> id=”site-title”> <span> <!–Remove blog title–> <!– <a href=”<?php echo home_url( ‘/’ ); ?>” title=”<?php echo esc_attr( get_bloginfo( ‘name’, ‘display’ ) ); ?>” rel=”home”><?php bloginfo( ‘name’ ); ?></a> <!–Remove blog title–>   –> </span> </<?php echo $heading_tag; ?>> <div id=”site-description”><?php bloginfo( ‘description’ ); ?>

Leave a Reply