ShareThis Forums » The ShareThis WordPress Plugin

button not showing on home page latest post

(2 posts)
  • Started 5 months ago by flayjot
  • Latest reply from ShareThisSupport

  1. hi there,

    i'm getting weird code

    (SHARETHIS.addEntry({ title: "Test", url: "http://www.flayjot.com/?p=11" });

    at the end of my posts where the ShareThis button should be.
    http://www.flayjot.com/

    oddly enough an archived post seems to have the button below it just fine:
    http://www.flayjot.com/?p=1

    i'm using The Morning After theme, and a customized button (altered colors).

    any idea where that code is coming from and why the button won't show? i've deleted and reinstalled and deactivated and reactivated the plugin.

    Posted 5 months ago #
  2. The code that you're seeing is the .addEntry code that instantiates a ShareThis button. You're seeing the the text because for some reason on that page, the <script> tags are being stripped from the injection. Any idea why that page will strip the tags to instantiate the JavaScript?

    Posted 5 months ago #

RSS feed for this topic

Reply

You must log in to post.