WordPress.org

Forums

Smart Website Tools by AddThis
AddThis using Template Tag (3 posts)

  1. andrew-s3
    Member
    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.

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

  2. Srijith V
    AddThis Samurai
    Plugin Author

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

  • Smart Website Tools by AddThis
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.