Support » Plugin: Share Buttons by AddThis » do_action( 'addthis_widget' ) -> customize !?

  • Resolved ELAN42.com

    (@nokao)


    In the changelog I read:
    Added template tags. <?php do_action( ‘addthis_widget’ ); ?> in your template will print an AddThis button or toolbox, per your configuration.

    But where are the options !?
    Where is a manual ?

    I need to put custom links in a place, neither widget or template tags have customization.

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • so !?

    some help please …

    do_action(‘addthis_widget’,$url , $title, $style);

    $url is the URL you wish to share. Generally, this should be get_permalink() if you are inside of the loop.
    $title is the title of the URL you want shared. Generally this should be get_the_title() if you are inside of the loop.
    $style can be either a string or an array. If it is in array, it should take the form of:

    $customAddThis = array(
        'size' => '16', // size of the icons.  Either 16 or 32
        'services' => 'hyves,joliprint', // the services you want to always appear
        'preferred' => '8', // the number of auto personalized services
        'more' => true // if you want to have a more button at the end
    );

    String can be one of the $addthis_new_styles styles listed in addthis_social_widget.php, ‘above’ (if you want what is chosen in the UI for above) or ‘below’) if you want what is chosen in the UI for below.

    I can’t understand …

    I’m trying to have a box with only
    facebook, print, email to a friend

    And I’m always getting all the other stuff like twitter …

    How do I show only the 3 above links ?

    oh … I resolved with this:
    http://www.addthis.com/help/custom-buttons

    thanks

    @nokao: how did you resolve it? would you like to share your trick?

    Thx

    -m.

    Thank you Aaron! I cannot believe why Addthis does not document this feature, both at their supportsite and in the plugin documentation…

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘do_action( 'addthis_widget' ) -> customize !?’ is closed to new replies.