-
-
Save billerickson/349b463d53fc0459b304d30c7034f44e 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 | |
/** | |
* Display Like Button | |
* | |
*/ | |
function ea_display_like_button() { | |
if( is_single() && function_exists( 'be_like_content' ) ) | |
be_like_content()->display(); | |
} | |
add_action( 'genesis_entry_content', 'ea_display_like_button', 11 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment