• Hello,
    Recently the following code appeared for everyone to see on our website:
    remove_action( ‘storefront_footer’, ‘storefront_credit’, 20 )
    I would like to figure out how to eliminated as it looks really tacky.
    Thanks,
    Nathanael

Viewing 6 replies - 1 through 6 (of 6 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    It looks like you’re missing a <?php ina file someplace — probably your theme’s functions.php file. What have you modified lately?

    Thread Starter nwd3

    (@nwd3)

    I have not made any modifications to the appearance editor.

    Thread Starter nwd3

    (@nwd3)

    but how would I determine where I am missing the <?php

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Well, that’s a good question. What have you changed or updated lately?

    Thread Starter nwd3

    (@nwd3)

    I have added a few new products,pages,and posts.

    Then, like Sternadata says, it means somewhere in the WordPress loop, one php loop is not close and it appears on the site.

    The fastest way I suggest you is to ask a friend or pro who knows well PHP and/or WordPress to check where it miss a closing argument for PHP >> WordPress use many loops, and in these loops not everything needs to be fully closed, with ?> either. Or opened with <?php for that matter.

    • This reply was modified 8 years, 3 months ago by Digico Paris. Reason: more info
    • This reply was modified 8 years, 3 months ago by Digico Paris.
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘php code appears on the front of my website’ is closed to new replies.