• Resolved ChefC

    (@chefc)


    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

    any help will be appreciated.

Viewing 5 replies - 1 through 5 (of 5 total)
  • 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

    (@chefc)

    Hi, thanks for the response.

    Any clue as to what such code would look like?

    Thread Starter ChefC

    (@chefc)

    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.

    Maybe something like:

    <?php echo get_page_template_slug( $post->ID ); ?>

    Thread Starter ChefC

    (@chefc)

    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.