function get_twitter_via_param() { if (is_twitter_id_include() && get_twitter_follow_id()) { return '&via=' . get_twitter_follow_id(); } }
echo esc_html(get_share_msg()); ?> </p> <?php } ?> <ul class="snsb clearfix"> <?php get_template_part('sns-button-twitter'); ?> <?php if (false && is_twitter_btn_visible()) { //Twitterボタンを表示するか ?> <li class="twitter-btn"><a href="//twitter.com/share" class="twitter-share-button" data-via="<?php echo is_twitter_id_include() ? get_twitter_follow_id() : ''; //メンションを含める ?> " data-url="<?php the_permalink(); ?> " data-text="<?php the_title(); ?> " data-count="<?php echo $g_is_small ? 'horizontal' : 'vertical'; ?> " data-related="<?php echo is_twitter_related_follow_enable() ? get_twitter_follow_id() : ''; //ツイート後にフォローを促す ?>