-
-
Save billerickson/3de9942ede75c72c6aee0e48796c123d to your computer and use it in GitHub Desktop.
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
<?php | |
/** | |
* Share Buttons on Archive Pages | |
* | |
*/ | |
function be_share_buttons_on_archive() { | |
if( is_home() || is_archive() || is_search() ) { | |
ea_share()->front->display(); | |
} | |
} | |
add_action( 'genesis_entry_content', 'be_share_buttons_on_archive', 12 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks Bill.