Originally Posted by
texasgirl
Hmm … well, that's good. Now at least I know what to look for -- a like button that doesn't require a comment.
Thanks for the info!
This is what I've done, it works for me and was extremely simple, but I only have the like button on my Home Page. It does, however, post to the person's FB page without a comment having to be entered.
To Add a "Like" button to your Main Page:
From your Zen Admin select Tools & Choose Define Pages Editor and select define_main_page.php from the drop down.
At the top of this box paste the following code:
Code:
<div id="fb-root"></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) {return;}
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
And then, wherever you want the button to show on the page you would paste the following:
Code:
<div class="fb-like" data-href="http://www.yourwebaddress.com" data-send="false" data-width="550" data-show-faces="true"></div>
*be sure to change the web address in the div to your web address*
This may not be exactly what you're looking for but it may be something you can easily put up which will still allow posting from your visitors until you find the answer you are looking for. I'm sure you'll find your answer soon if you haven't found it already, the help on here can be amazing!
Bookmarks