In the past, I posted WordPress notes on Queen Of Kludge only, and TypePad notes here on daBlogMother. Since I've recently had a few WordPress projects going on, daBlogMother has been quiet.
Well, never mind. I think I shall post my WordPress notes here on Mother, too, even though Mother is hosted by TypePad.
Just installed DOJO theme at Questions4RealEstate. (In a few days, this blog with have some pertinent posts, right now there are only a couple test posts.)
To replace text title with image
Opener header.php
Find this code
<div id="header">
<?php if ( is_home() ) { /* use an h1 on the homepage */ ?>
<h1 id="blogname"><a href="<?php bloginfo('url'); ?>"><?php bloginfo('name'); ?></a></h1>
<?php } else { /* and a p tag everywhere else */ ?>
<p id="blogname"><strong><a href="<?php bloginfo('url'); ?>"><?php bloginfo('name'); ?></a></strong></p>
<?php } ?>
<p id="tagline"><em><?php bloginfo('description'); ?></em></p>
</div> <!-- end header -->
Replace both instances of <?php bloginfo('name'); ?>
With <img src="http://www.questions4realestate.com/wp/wp-content/uploads/2008/09/questions.png">
Final code snippet:
<div id="header">
<?php if ( is_home() ) { /* use an h1 on the homepage */ ?>
<h1 id="blogname"><a href="<?php bloginfo('url'); ?>"><img src="http://www.questions4realestate.com/wp/wp-content/uploads/2008/09/questions.png"></a></h1>
<?php } else { /* and a p tag everywhere else */ ?>
<p id="blogname"><strong><a href="<?php bloginfo('url'); ?>"><img src="http://www.questions4realestate.com/wp/wp-content/uploads/2008/09/questions.png"></a></strong></p>
<?php } ?>
<p id="tagline"><em><?php bloginfo('description'); ?></em></p>
</div> <!-- end header -->



Comments