Created
July 1, 2014 12:41
-
-
Save laflier/6dbba74fcf3ac821c9f7 to your computer and use it in GitHub Desktop.
Function for Genesis to display AddThis Sharing at Hook Location
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_action( 'COPY HOOK HERE', 'custom_addthis_share_buttons', 15 ); | |
// See http://support.addthis.com/customer/portal/articles/381238-addthis-toolbox | |
// See also http://wpsites.net/best-plugins/addthis-social-share-follow-buttons-for-wordpress/ | |
function custom_addthis_share_buttons() { | |
echo '<div class="addthis_toolbox addthis_default_style">'; | |
echo '<a class="addthis_button_preferred_1"></a>'; | |
echo '<a class="addthis_button_preferred_2"></a>'; | |
echo '<a class="addthis_button_preferred_3"></a>'; | |
echo '<a class="addthis_button_preferred_4"></a>'; | |
echo '<a class="addthis_button_compact"></a>'; | |
echo '<a class="addthis_counter addthis_bubble_style"><a>'; | |
echo '</div>'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment