[Plugin: AddThis] Tip: Controlling position in a template
-
I could not work out how to have both a custom position for the toolbar and to get the share button with the counter on it using the custom styles as mentioned in the add this blog on the “template tag”
However I found a much simpler way.
1) Select the desired style to display below the post
2) In the advanced tab, turn off all of the show options
3) Add the following to your template where you want the item to display<?php do_action('addthis_widget',get_permalink($post->ID), get_the_title($post->ID), 'below'); ?>
If you want to customise your buttons later, you can do that without needing change any code.
Viewing 13 replies - 1 through 13 (of 13 total)
Viewing 13 replies - 1 through 13 (of 13 total)
- The topic ‘[Plugin: AddThis] Tip: Controlling position in a template’ is closed to new replies.