Remove “Home” label only on homepage of WordPress theme

This is code to remove the “Home” label at the top of the page (typically just below the navigation menu) only on the homepage but leaving the page names on all of the other pages.

Find the file in your theme that calls the entry header. For the Twenty-Twelve theme, this will be in your content-page.php. (I also recommend creating a child theme instead of editing the existing Twenty-Twelve theme but we’ll save that for another time and focus on the code snippet for now.)

Replace:

<header class="entry-header">
	<h1 class="entry-title"><?php the_title(); ?></h1>
</header>

 

With:

<!--conditional use header - no home on homepage-->
	<?php if( ! is_front_page() ) :?>
		<header class="entry-header">
			<h1 class="entry-title"><?php the_title(); ?></h1>
		</header>
	<?php endif; ?>
<!--conditional use header - no home on homepage-->

 

 

PHP Copyright Date – auto updating

&copy; <?php echo  (date('Y') == 2007) ? '2007' : '2007-' . date('Y'); ?>

Replace all “2007” years in the above code with the beginning copyright year and the rest will be updated to the current year.

Looks like:
© 2007-2012

And if your initial copyright year is the current year it will simply look like the following until the next year:
© 2012

Insert your name or company name after that and voila – a copyright date for the bottom of your site that you don’t have to go in and update each year.