Changing WORDPRESS header, to post/page title EXCEPT homepage -something to do with header.php file
I went into the header.php file of the theme editor and I found something that works...but it changes the header on the homepage to the most recent post title...which I don't want of course.
Anyways, I went into the file and found this....
<h3><a href="<?php echo get_option('home'); ?>/">
<?php bloginfo('name'); ?>
</a></h3>
<p class="tagline">
<?php bloginfo('description'); ?>
</p>
I changed...
<?php bloginfo('name');?>
to this...
<?php the_title(); ?>
so after the change, it looks like this
<h3><a href="<?php echo get_option('home'); ?>/">
<?php the_title(); ?>
</a></h3>
<p class="tagline">
<?php bloginfo('description'); ?>
</p>
Now that DID change the header to the post/page title for all individual posts and pages...
HOWEVER, I want the homepage header to still be the title of the website, but instead it changes it to the most recent post made, rather than the website title.
Any help would be appreciated.
SwordsofHonor.com
BoiseWired.com - Internet Marketing and Web Design
SwordsofHonor.com
BoiseWired.com - Internet Marketing and Web Design