Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Atahualpa 3 Wordpress theme (http://forum.bytesforall.com/forumdisplay.php?f=2)
-   -   Logos in Footer (http://forum.bytesforall.com/showthread.php?t=493)

Steve_T Feb 22, 2009 02:12 AM

Logos in Footer
 
Is it possible to put logos in the footer but so that they only appear on the home page - not EVERY page

Flynn Feb 22, 2009 04:42 AM

You would have to edit footer.php for this, and put after
PHP Code:

        <!-- Footer -->
        <td id="footer" colspan="<?php echo $cols?>">

or before

PHP Code:

        <?php wp_footer(); ?>
        </td>
        <!-- / Footer -->

this

PHP Code:

<?php if ( is_home() ) { ?>
<img src="/path/to/logo.gif" alt="Logo..." />
<?php ?>


Steve_T Feb 22, 2009 05:18 AM

Thanks that works but the condition you suggested put it in the blog which is NOT the homepage. I used the below instead and it works. I can't claim any kudos for this it comes from something you taught me in an earlier thread.
PHP Code:

<?php if ( is_front_page() ) { ?>  
<img src="http://www.digitalvillage.org.uk/logos/beacon.jpg" alt="" hspace="10" />
<img src="http://www.digitalvillage.org.uk/logos/blf.jpeg" alt="" hspace="10" />
<?php ?>



All times are GMT -6. The time now is 09:06 AM.

Powered by vBulletin® Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.