WordPress.org

Support

Support » Plugins and Hacks » Share Buttons by AddThis » [Plugin: AddThis] Can't get this to work in templates on categories and co

[Plugin: AddThis] Can't get this to work in templates on categories and co

  • Agnes

    @agneslesagegmailcom

    I got the buttons to show when I put manually in my post tmeplate:

    <?php do_action('addthis_widget',get_permalink($post->ID), get_the_title($post->ID), 'mystyle'); echo 'do'?>

    But not on a page that lists pages… nor on category

    So I tried this

    <?php do_action('addthis_widget','url', 'title', 'mystyle'); ?>

    But it does not shwo at all 🙁

    http://wordpress.org/extend/plugins/addthis/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Agnes

    @agneslesagegmailcom

    Strangely, it shows if I add
    <script type=”text/javascript” src=”http://s7.addthis.com/js/250/addthis_widget.js#pubid=ra-4fa382503d81907c”></script> like if it were a web button…

    Agnes

    @agneslesagegmailcom

    .. or if I dont choose to load asynchronously my script!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: AddThis] Can't get this to work in templates on categories and co’ is closed to new replies.
Skip to toolbar