Thanks for checking my plugin. Currently it works only on Single Posts
But you can make it to work on all pages, posts, custom posts etc by taking the social buttons out side below code
if ( is_single() ) {
echo '<!-- Counters by Genesis Optimized Social Share Plugin -->';
echo '<div id="optimizedsocial">';
echo '<div class="socialbox">';
echo '<div class="fb-like" data-href="' . get_permalink( $post->ID ) . '" data-send="false" data-layout="box_count" data-show-faces="false"></div></div>';
echo '<div class="socialbox"><a rel="nofollow" href="https://twitter.com/share" data-url="' . get_permalink( $post->ID ) . '" data-text="' . urlencode( strip_tags( get_the_title( $post->ID ) ) ) . '" data-count="vertical" class="twitter-share-button">Tweet</a></div>';
echo '<div class="socialbox"><div class="g-plus" data-action="share" data-annotation="vertical-bubble" data-height="60"></div></div>';
echo '<div class="socialbox pinterest"><a class="pin" href="https://www.pinterest.com/pin/create/button/?url=' . get_permalink( $post->ID ) . '&description=' . urlencode( strip_tags( get_the_title( $post->ID ) ) ) . '" data-pin-do="buttonPin" count-layout="vertical" data-pin-config="above">PinIt</a></div>';
echo '<div class="clear"></div>';
echo '</div>';
echo '<!-- Counters by Genesis Optimized Social Share Plugin End -->';
}
Remove the top if ( is_single() ) {
and bottom }
. Then save the plugin and it should work fine on all pages.