function get_twitter_related_param() { if (is_twitter_related_follow_enable() && get_twitter_follow_id()) { return '&related=' . get_twitter_follow_id(); //.':フォロー用の説明文'; } }
?> <p class="sns-follow-msg"><?php echo esc_html(get_follow_msg()); //フォローメッセージの取得 ?> </p> <?php } ?> <ul class="snsp"> <?php if (get_twitter_follow_id()) { //Twitterフォローボタンを表示するか ?> <li class="twitter-page"><a href="//twitter.com/<?php echo esc_html(get_twitter_follow_id()); //TwitterフォローIDの取得 ?> " target="_blank" title="Twitterをフォロー" rel="nofollow"><span class="fa fa-twitter-square"></span></a></li><?php } if (get_facebook_follow_id()) { //Facebookフォローボタンを表示するか ?> <li class="facebook-page"><a href="//www.facebook.com/<?php echo esc_html(get_facebook_follow_id()); //FacebookフォローIDの取得 ?> " target="_blank" title="Facebookをフォロー" rel="nofollow"><span class="fa fa-facebook-square"></span></a></li><?php } if (get_google_plus_follow_id()) { //Google+フォローボタンを表示するか
?> <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() : ''; //ツイート後にフォローを促す ?> ">Tweet</a><script type="text/javascript" src="//platform.twitter.com/widgets.js"></script> </li> <?php } ?> <?php if (is_facebook_btn_visible()) { //Facebookボタンを表示するか ?> <li class="facebook-btn"><div class="fb-like" data-href="<?php the_permalink(); ?> " data-layout="<?php