Title: php text displaying below footer
Last modified: August 21, 2016

---

# php text displaying below footer

 *  Resolved [ChefC](https://wordpress.org/support/users/chefc/)
 * (@chefc)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/php-text-displaying-below-footer/)
 * Since a recent upgrade to the latest wordpress and woocommerce my site is now
   displaying text below the footer, such as;
 * ‘/home/blackbo1/public_html/interpretationshop.co.uk/wp-content/themes/maya/home.
   php’
 * any ideas on how I can stop this happining?
 * the website is [http://www.interpretationshop.co.uk](http://www.interpretationshop.co.uk/)
 * any help will be appreciated.

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

 *  [Dave Naylor](https://wordpress.org/support/users/wpranger/)
 * (@wpranger)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/php-text-displaying-below-footer/#post-5143109)
 * It’s happening on all your pages. Looks like a developer has left some debug 
   code in there that spits out the name of the page template in use. Take a look
   in your theme templates for such code right at the end of the file. I’d start
   with footer.php but it may be elsewhere.
 *  Thread Starter [ChefC](https://wordpress.org/support/users/chefc/)
 * (@chefc)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/php-text-displaying-below-footer/#post-5143113)
 * Hi, thanks for the response.
 * Any clue as to what such code would look like?
 *  Thread Starter [ChefC](https://wordpress.org/support/users/chefc/)
 * (@chefc)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/php-text-displaying-below-footer/#post-5143118)
 * Hi Dave,
 * Quick update, the problem seems to have been resolved after I installed ‘Wordfence’
   and ran a scan, two core wordpress files had apparently been altered from their
   original, after restoring them the problem has gone.
 * These were;
 * wp-content/index.php
    wp-includes/template-loader.php
 * Thanks again for the reply at any rate.
 *  [Dave Naylor](https://wordpress.org/support/users/wpranger/)
 * (@wpranger)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/php-text-displaying-below-footer/#post-5143120)
 * Maybe something like:
 * `<?php echo get_page_template_slug( $post->ID ); ?>`
 *  Thread Starter [ChefC](https://wordpress.org/support/users/chefc/)
 * (@chefc)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/php-text-displaying-below-footer/#post-5143156)
 * Yes,
 * One of the files mentioned had something to that effect inserted, once I reverted
   it back to the original all seemed fixed.
 * Thanks for your help!

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

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 2 participants
 * Last reply from: [ChefC](https://wordpress.org/support/users/chefc/)
 * Last activity: [11 years, 9 months ago](https://wordpress.org/support/topic/php-text-displaying-below-footer/#post-5143156)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
