WordPress.org

Ready to get started?Download WordPress

Forums

Share Buttons by AddThis
[Plugin: AddThis featuring Sharing Buttons / Facebook Like / Tweet Button] Shortcode (4 posts)

  1. robcolburn
    Member
    Posted 3 years ago #

    I need the widget to display in my "post meta" section. Pretty easy to add to the template if you define a shortcode. I'm going to go ahead and write it for my local instance (should only be a few lines of code), but it would be an extra convenience for others.

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

  2. sunriseweb
    Member
    Posted 3 years ago #

    I agree that a shortcode would be nice. To add to a template use <?php do_action( 'addthis_widget' ); ?>

    See http://wordpress.org/support/topic/plugin-addthis-but-no-template-tags-why?replies=2

  3. disobeymedia
    Member
    Posted 2 years ago #

    Hello,
    could you be please more specific on where to add the <?php do_action( 'addthis_widget' ); ?> . Also what exactly will doing that achieve? I am looking for a way to have Addthis widget as a shortcode. Thanks for your help!

  4. cfbauer
    Member
    Posted 2 years ago #

    To anyone wondering, you add the <?php do_action... code to a theme .php file to display the widget in a theme.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags