ShareThis Wordpress Plugin Issue > Kindly Help

Discussion in 'WordPress' started by GAdsense, Sep 19, 2009.

  1. #1
    I've been using ShareThis wordpress plugin without any problem for a long time. Today, I am facing a strange issue.

    I turned auto position of posts from sharethis setting to be off and edited the code on single.php to display sharethis button right after post title.

    Now its not showing up at all. I even removed the code again, turned that setting to yes but that even doesn't work.

    So much so that I removed and reinstalled a fresh copy of ShareThis, still showing nothing.

    Can you please share possible solutions?
    Thanks.
     
    GAdsense, Sep 19, 2009 IP
  2. ads2help

    ads2help Peon

    Messages:
    2,142
    Likes Received:
    67
    Best Answers:
    1
    Trophy Points:
    0
    #2
    What codes you use in single.php?

    Maybe the function returns the output, not echo-ing it (just my guess)
     
    ads2help, Sep 19, 2009 IP
  3. GAdsense

    GAdsense Well-Known Member

    Messages:
    1,247
    Likes Received:
    60
    Best Answers:
    0
    Trophy Points:
    140
    #3
    I used this code
    <?php if (function_exists('sharethis_button')) { sharethis_button(); } ?>
    Code (markup):
    as shared by ShareThis personally.
     
    GAdsense, Sep 19, 2009 IP
  4. ads2help

    ads2help Peon

    Messages:
    2,142
    Likes Received:
    67
    Best Answers:
    1
    Trophy Points:
    0
    #4
    Lol weird. Anyway I have no experience in share this plugin. :D

    Err..you can try remove the if ()....

    Just use
    <?php sharethis_button(); ?>
    PHP:
    See if it triggers any error? :eek: :D
     
    ads2help, Sep 19, 2009 IP
  5. GAdsense

    GAdsense Well-Known Member

    Messages:
    1,247
    Likes Received:
    60
    Best Answers:
    0
    Trophy Points:
    140
    #5
    Alright, I will check this out. However, I've got another working solution by manually putting ShareThis widget code in php files.

    However, the problem was through using plugin. My point was I undo everything but even then it wasn't working as it should.

    Thanks for the replies :)
     
    GAdsense, Sep 19, 2009 IP
  6. MattSanti

    MattSanti Well-Known Member

    Messages:
    292
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    103
    #6
    Did you try clearing the cache from your cookies, internet explorere, firefox?

    Do you have WP Super Cache installed? That can be a pain and can mess up other plugins. Have you updated all plugins and are the compatible with WP version you are currently using?
     
    MattSanti, Sep 19, 2009 IP
  7. GAdsense

    GAdsense Well-Known Member

    Messages:
    1,247
    Likes Received:
    60
    Best Answers:
    0
    Trophy Points:
    140
    #7
    Yes, tried all of that. In fact, I removed the plugin and did everything that could possible make issues but couldn't get it to work through plugin.

    For now, I've installed direct code of ShareThis in php files where needed.
     
    GAdsense, Sep 19, 2009 IP
  8. egoldinc

    egoldinc Peon

    Messages:
    17
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    hi i am facing the same issue. changed the theme twice and after that share this has disappeared...grr
     
    egoldinc, Sep 21, 2009 IP
  9. GAdsense

    GAdsense Well-Known Member

    Messages:
    1,247
    Likes Received:
    60
    Best Answers:
    0
    Trophy Points:
    140
    #9
    Thanks egoldinc to share... I've been using ShareThis for years but haven't changed those settings which I did and then it stopped working.... guess this is a major issue in this very popular plugin....
     
    GAdsense, Sep 21, 2009 IP