AddThis Sharing Buttons
AddThis using Template Tag (3 posts)

  1. andrew-s3
    Posted 1 year ago #

    I've implemented AddThis via my wordpress installation - it wasn't displaying properly at the top, so I chose to implement it at the top using the following Template Tag

    <?php do_action( 'addthis_widget' ); ?>

    The only problem is - using that template tag doesn't display the same setup as I have for the Automatically Displayed Bottom Icons.

    How can I fix this so that they display the same?

    Example: link

    Thanks for your help.


  2. Srijith V
    AddThis Samurai
    Plugin Contributor

    Posted 1 year ago #

    Try the following,

    <?php do_action( 'addthis_widget', get_permalink(), get_the_title(), 'below' );?>

    You may use 'above' or 'below' according to your preference.

  3. Steelcrusher
    Posted 1 year ago #

    I tried this
    <?php do_action( 'addthis_widget', get_permalink(), get_the_title(), 'above' );?>
    and it works but i'm making my own template (im using twentyfourteen as example) but I realy want full control on where the bar shows up. I am affraid that if I use "above" that the above bar could show on its own.

    is there a way to make shure it doesnt happen?

    Future feature : custom tag =) so we could desing and place them in the templates and control them from the admin!

    great mod!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • AddThis Sharing Buttons
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.