Example #1
0
    }
    ?>
</a>
		</li>

		<!--ポケットボタン-->      
		<li class="pocket">
		<a href="http://getpocket.com/edit?url=<?php 
    echo $url_encode;
    ?>
&title=<?php 
    echo $title_encode;
    ?>
" target="_blank"><i class="fa fa-get-pocket"></i><?php 
    if (function_exists('scc_get_share_pocket')) {
        echo scc_get_share_pocket() == 0 ? '' : '<span class="snstext">' . scc_get_share_pocket() . '</span>';
    }
    ?>
</a></li>

		<!--はてブボタン-->  
		<li class="hatebu">       
			<a href="http://b.hatena.ne.jp/entry/<?php 
    the_permalink();
    ?>
" class="hatena-bookmark-button" data-hatena-bookmark-layout="simple" title="<?php 
    the_title();
    ?>
"><i class="fa fa-hatena"></i><span style="font-weight:bold">B!</span>
			<?php 
    if (function_exists('scc_get_share_hatebu')) {
Example #2
0
"><span class="icon-pocket"></span></p>
</a>
<?php 
if (function_exists('scc_get_share_pocket')) {
    if (is_singular()) {
        ?>
		<p class="share-count"><?php 
        echo scc_get_share_pocket();
        ?>
</p>
	<?php 
    } else {
        if (is_front_page() && !$is_scc_old_version) {
            ?>
		<p class="share-count"><?php 
            echo scc_get_share_pocket(array(post_id => 'home'));
            ?>
</p>
	<?php 
        }
    }
}
?>
</div>


<div class="share-count-button">
<a class="no-deco" target="_blank" href="http://line.me/R/msg/text/?<?php 
echo $title_encoded . " ";
echo $url_encoded;
?>
&title=<?php 
echo urlencode(the_title("", "", 0));
?>
%20%2d%20No%2e1026" onclick="window.open(this.href, 'HBwindow', 'width=600, height=400, menubar=no, toolbar=no, scrollbars=yes'); return false;" target="_blank"><span class="text">はてブ</span><span class="count"><?php 
if (function_exists('scc_get_share_hatebu')) {
    echo scc_get_share_hatebu() == 0 ? '' : scc_get_share_hatebu();
}
?>
</span></a>
</li>


<!--ポケットボタン-->      
<li class="pocket">
<a href="http://getpocket.com/edit?url=<?php 
the_permalink();
?>
&title=<?php 
the_title();
?>
" onclick="window.open(this.href, 'FBwindow', 'width=550, height=350, menubar=no, toolbar=no, scrollbars=yes'); return false;"><i class="fa fa-get-pocket"></i><span class="text">Pocket</span><span class="count"><?php 
if (function_exists('scc_get_share_pocket')) {
    echo scc_get_share_pocket() == 0 ? '' : scc_get_share_pocket();
}
?>
</span></a></li>
</ul>
</div> 


</div>
Example #4
0
</a>
		</li>

		<!--ポケットボタン-->      
		<li class="pocket">
		<a target="_blank" href="http://getpocket.com/edit?url=<?php 
    echo $url_encode;
    ?>
&title=<?php 
    echo $title_encode;
    ?>
"><i class="fa fa-get-pocket"></i>
		<?php 
    if (function_exists('get_scc_pocket')) {
        if (scc_get_share_pocket(array('post_id' => 'home')) !== 0) {
            echo '<span class="snstext">' . scc_get_share_pocket(array('post_id' => 'home')) . '</span>';
        }
    }
    ?>
</a></li>

		<!--はてブボタン-->  
		<li class="hatebu">       
			<a href="http://b.hatena.ne.jp/entry/<?php 
    home_url();
    ?>
" class="hatena-bookmark-button" data-hatena-bookmark-layout="simple" title="<?php 
    bloginfo('name');
    ?>
"><i class="fa fa-hatena"></i><span style="font-weight:bold">B!</span>
<?php