Add Buttons in Template Files

You can use shortcodes directly in your template files. Let's also make a check if Ultimate Social is active:

echo do_shortcode('[ultimatesocial networks="facebook,twitter,google"]');

For example you can add it to your loop like this:

<?php if (have_posts()) : while (have_posts()) : the_post(); ?>

	<div <?php post_class(); ?> id="post-<?php the_ID(); ?>">
		<h1><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h1>
		<?php the_content(); ?>
	</div>
<?php echo do_shortcode('[ultimatesocial networks="facebook,twitter,google,pinterest" url="'.the_permalink().'"]'); ?> <?php endwhile; ?> <?php endif; ?>