function ssba_buttons($atts) { // get buttons - NULL for $content, TRUE for shortcode flag $htmlShareButtons = show_share_buttons(NULL, TRUE, $atts); //return buttons return $htmlShareButtons; }
<!-- title --> <div class="caption blog-caption"> <h3><?php the_title(); ?> </h3> </div> <!-- .title --> <!-- blog-post-text --> <div class="text main_content"> <?php the_content(); if (function_exists('show_share_buttons')) { echo show_share_buttons('', true); } ?> </div> <!-- .blog-post-text --> <?php $tags = coupon_tags_list(get_the_tags(), true); if (!empty($tags)) { ?> <!-- blog-meta --> <div class="item-meta blog-meta meta-tags"> <ul class="list-inline"> <li> <span class="fa fa-tags"></span>