I have this social sharing buttons which appear in both blog post and the PAGES. How do I set it so that they do not appear on the pages?
Here is the code:
function crunchify_social_sharing_buttons($content) { // Show this on post and page only. Add filter is_home() for home page if(is_singular()){ // Get current page URL $shortURL = get_permalink(); // Get current page title $shortTitle = get_the_title();