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
function crunchify_social_sharing_buttons($content) { | |
if(is_singular() || is_home()){ | |
// Get current page URL | |
$crunchifyURL = get_permalink(); | |
// Get current page title | |
$crunchifyTitle = str_replace( ' ', '%20', get_the_title()); | |
// Get Post Thumbnail for pinterest |
NewerOlder