Quantcast
Viewing all articles
Browse latest Browse all 13545

srijith.v on "[Plugin: Share Buttons by AddThis] Limit AddThis to just main loop, not custom WP_Query in footer"

@tzeldin88: Yes, the plugin will render buttons when the_content() is being called. For custom placement, you may try the template tag option. First you have to set 'Do not Show' to display options in the plugin configuration for both 'above' and 'below'. Then, in your theme file, use a template tag like:

<?php do_action( 'addthis_widget', get_permalink(), get_the_title(), array(
		'size' => '16',
		'services' => 'twitter',
		'preferred' => '3',
		'more' => true,
                'type' => 'custom',
		));
	?>

Viewing all articles
Browse latest Browse all 13545

Trending Articles