Title: footer.php
Last modified: August 20, 2016

---

# footer.php

 *  [iu101](https://wordpress.org/support/users/iu101/)
 * (@iu101)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/footerphp-4/)
 * Hello everyone,
 * I’m currently helping my friend to start a website. I wanted to if its possible
   to customize the footer.php file to display only on specific pages e.g home page(
   my home page is static).
 * let me know if any info is missing.
 * Thanks in advance for any suggestions.

Viewing 6 replies - 1 through 6 (of 6 total)

 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/footerphp-4/#post-2257594)
 * you could use conditional tags: [http://codex.wordpress.org/Conditional_Tags](http://codex.wordpress.org/Conditional_Tags)
 *  Thread Starter [iu101](https://wordpress.org/support/users/iu101/)
 * (@iu101)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/footerphp-4/#post-2257618)
 * [@alchymyth](https://wordpress.org/support/users/alchymyth/) thanks for the replay,
   one more question where do i need to make the changes to include the conditional
   tags footer.php or index.php
 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/footerphp-4/#post-2257624)
 * > I wanted to if its possible to customize the footer.php file to display only
   > on specific pages e.g home page (my home page is static).
 * you very likely need to make these changes in footer.php;
    because footer.php
   also contains html elements neccessary to finish the web page properly, and these
   are needed in all pages.
 *  Thread Starter [iu101](https://wordpress.org/support/users/iu101/)
 * (@iu101)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/footerphp-4/#post-2257689)
 * thanks again for the quick response, here is to the code for my footer.php:
 * _[code moderated - please follow the guidelines in [http://codex.wordpress.org/Forum\_Welcome#Posting\_Code](http://codex.wordpress.org/Forum_Welcome#Posting_Code)
   when posting code]_
 * so i added the following two line in the file :
 *     ```
       <img src="<?php  bloginfo('template_directory') ?>/images/letter2.png">
       <?php is_front_page(); ?>
       ```
   
 * to load the image file only on the front page (static home page) but nothing 
   seems to happen, any ideas ?
 * thanks
 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/footerphp-4/#post-2257692)
 * try:
 *     ```
       <?php if( is_front_page() ) {  ?>
       <img src="<?php bloginfo('template_directory') ?>/images/letter2.png" >
       <?php } ?>
       ```
   
 * if you see any changes might depend on the location where you add this new code
   to footer.php.
 *  Thread Starter [iu101](https://wordpress.org/support/users/iu101/)
 * (@iu101)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/footerphp-4/#post-2257706)
 * thank you so much it worked like a charm

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘footer.php’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 6 replies
 * 2 participants
 * Last reply from: [iu101](https://wordpress.org/support/users/iu101/)
 * Last activity: [14 years, 9 months ago](https://wordpress.org/support/topic/footerphp-4/#post-2257706)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
