Hey all,
Trying to add a shortcode for FB comments in the footer on 1 page only, i.e. the "Home" page.
I can add the shortcode no problem:echo do_shortcode('[fbcomments]');
But I want to isolate this to the home page footer.
I've been mucking around with various CSS approaches to no avail (like trying to hide the DIV, class, etc.), so now I am trying a PHP approach, but the only prob with that is I don't know PHP. But here is what I am "thinking" is the overall idea:
<div id="facebookComments" class="facebookComments2">
<?php
if ( $thePostID = 12 )
echo do_shortcode('[fbcomments]');
?>
</div>
Any suggestions/ideas? greatly appreciated. Am I an idiot for even attempting this? (Don't worry, U won't hurt my feelings).
Cheers,
Kevin