• Hi There, I’ve searched high and low, and can’t get this working based on others’ suggestions, maybe you can help.

    I am using the Simple Facebook/Twitter connect plugins to add the “Like” and “Tweet” buttons to my news page (using standard posts). I have added posts for news up to 6 years in the past, and would like to hide the social media icons from anything later than this June, since it’s unlikely people would go and click “Like” on events that happened years ago.

    Here is the function in the PHP file for the like button, I’ve customized it already to get the icons to show up on the page I want, but can’t figure out the conditional for “display only after June 2011”.

    Any help? Thanks!!!

    function get_sfc_like_button($args='') {
    	if(is_single()||is_home()){
            BLAH BLAH BLAH BLAH
    }
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Hide Social Media Icons After Specific Date’ is closed to new replies.