WordPress.org

Ready to get started?Download WordPress

Forums

Share Buttons by AddThis
AddThis using Template Tag (3 posts)

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

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.