Support » Fixing WordPress » Strange code appears top left

  • Resolved dan pratt


    Strange code appears top left of my blog effects all themes looks like this ‘//–>’
    Any Ideas?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator Andrew Nevins


    Forum moderator

    Try deactivating plugins to explore whether any could be responsible.



    Forum Moderator

    Have you tried:

    – deactivating all plugins to see if this resolves the problem. If this works, re-activate the plugins one by one until you find the problematic plugin(s).

    – switching to the default theme to rule out any theme-specific problems.

    resetting the plugins folder by FTP or PhpMyAdmin. Sometimes, an apparently inactive plugin can still cause problems.

    It is definitely a plugin causing that issue; AddtoAny to be specific.

    Here is where the issue lives:

    <!-- AddToAny END -->

    Try this; in your plugin directory wp-content/plugins/add-to-any/add-to-any.php search for this (around line 965 in my file)

    . "\n//--></script>\n";

    and replace that with this:

    . "\n</script>\n";

    And tell us if that fixes the issue.

    Thanks it was this plugin that was definitely causing the issue. I’ve tried the above solution but it created a strange issue with the post. Decided just to deactivate the plugin and look for another. Your quick response to my problem was much appreciated thanks a million.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Strange code appears top left’ is closed to new replies.