Created
August 1, 2014 08:10
-
-
Save anonymous/128f09ce5a4962e1d6a8 to your computer and use it in GitHub Desktop.
Jetpack buttons on 4colums Genesis homepage (addon to http://wpsites.net/web-design/4-column-category-archive-recipes-featured-image-title-only/ )
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
//* Buttons | |
function kris_jetpack_buttons(){ | |
remove_filter( 'the_content', 'sharing_display', 19 ); | |
remove_filter( 'the_excerpt', 'sharing_display', 19 ); | |
if ( function_exists( 'sharing_display' ) ) { | |
echo sharing_display(); | |
} | |
} | |
add_action( 'genesis_entry_header', 'kris_jetpack_buttons', 12 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment