Support » Plugin: Share Buttons by AddThis » it's not working…..

  • hi.
    i got a problem.
    i’ve installed this pug-in. but it didn’t show up..
    i can just see it via “setting/preview”.

    so, i attached this code(brining your website) and it’s working.

    <!-- AddThis Button BEGIN -->
    <script type="text/javascript">var addthis_config = {"data_track_addressbar":true};</script>
    <script type="text/javascript" src="//"></script>
    <!-- AddThis Button END -->

    but it’s not standard way. also, it’s no working on widget(side bar)
    what should i do?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Contributor Srijith V


    @bagopaaa I can see from the site that our script is not loading. Please verify whether you have activated the plugin and saved the settings. You can contact me on srijith[AT] if you prefer me to check the settings.

    I had a similar problem to this and I realised that it was because wp_head() was commented out in my theme header.php.

    Many plugins rely on wp_head() (and also wp_footer(), found in footer.php) to work.
    Check in your header.php for wp_head() and that it hasn’t been commented out. Also check for wp_footer() in the footer.php.

    My specific problem was to do with wp_head, but this plugin may well use wp_footer too (I can’t be bothered to check).
    If including wp_head causes any problems then you’ll probably need to stop it loading some scripts. You can find that info on google or I could help (if I ever remember to come back to this thread).

    thanks for the replies!
    i’m making and editing my home. so, i can’t confirm that situation, sorry.

    but i’ don’t understand….. what is “comment out” ?
    i found <?php wp_head(); ?> in header.php and footer.php(<?php wp_footer(); ?>)
    now, i don’t know what is the next step. should i remove this code or insert another code?

    Plugin Contributor Srijith V


    @bagopaa: Header and Footer loading in your theme seems to be fine. No need to change it. Let me know when it is ready to have a check in your site. Let’s find out what’s going wrong.

    Yeah, sorry for confusing you.
    wp_head() and wp_footer() are two functions that wordpress uses to load plugins and other things. On some themes that I’ve worked with they have been removed or disabled (that’s what commented out means).
    If they are disabled then wordpress will not be able to load certain plugin features (this was the problem that I had). This doesn’t seem to be the issue in your case though.
    I hope this information might help anyone else that is looking for a solution though.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘it's not working…..’ is closed to new replies.