• Resolved wollac11

    (@wollac11)


    Hi there,

    On my site (littlegreendude.com) I see the appearance of an apostrophe in the footer section of the site which I do not wish to be there but somehow I can’t quite find where it is coming from and wondered if anyone has any ideas or could help me to remove it?

    It is not so clear with my current theme but if you have a look here you should be able to see a single (white) line containing just an apostrophe below the footer.

    This appears regardless of theme so it’s obviously not in my theme code (although the page location can vary slightly theme to theme). It appears right next to the WordPress Jetpack tracking smiley (or at least it did until I hid it).

    Any ideas?

Viewing 4 replies - 1 through 4 (of 4 total)
  • I suspect it’s the very last thing in the following code

    <script type="text/javascript">
    (function(d, s, id) {
      var js, fjs = d.getElementsByTagName(s)[0];
      if (d.getElementById(id)) return;
      js = d.createElement(s); js.id = id;
      js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&appId=&version=v2.0";
      fjs.parentNode.insertBefore(js, fjs);
    }(document, 'script', 'facebook-jssdk'));
    </script>'
    Thread Starter wollac11

    (@wollac11)

    Thanks for your reply. I believe you are most probably correct, I had located that in the resultant page source code through inspection and should have included it in the OP, but I cannot find how it ends up there in the first place.

    I have many plugins on the site, is it best I just try deactivating them until it goes as it would seem it must be coming from one of them? I was hoping someone may already know or be able to identify the source of it so I could avoid going through such a large number of plugins etc.

    The script has something to do with Facebook connect, it may be part of a plugin or it may be hard coded in your footer.php file within your theme

    Thread Starter wollac11

    (@wollac11)

    Found it! I had a search through all the plugins related to Facebook and in the end I found it was being caused by the plugin Social Media Buttons & Widgets

    I’ve deactivated and removed the plugin. It is not something I really need anyway as I am able to replicate its functionality manually.

    Thanks for your help!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Random apostrophe, can't find source (theme irrespective)’ is closed to new replies.