WordPress.org

Ready to get started?Download WordPress

Forums

Share Buttons by AddThis
[Plugin: AddThis] Can't get this to work in templates on categories and co (3 posts)

  1. Agnes
    Member
    Posted 2 years ago #

    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/

  2. Agnes
    Member
    Posted 2 years ago #

    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...

  3. Agnes
    Member
    Posted 2 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags