Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Function for Genesis to display AddThis Sharing at Hook Location
add_action( 'COPY HOOK HERE', 'custom_addthis_share_buttons', 15 );
// See
// See also
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