Skip to content

Instantly share code, notes, and snippets.

@billerickson

billerickson/functions.php Secret

Created Mar 8, 2018
Embed
What would you like to do?
<?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
You can’t perform that action at this time.