Want to add (social) plugins-comment to my website

Hi I have the new Sarin html 5 site and i just love it.

Just looking for one little ad and that to have that my visters could leave comments on some page, so I could use the site for a one all site instead for sending away to my blog.

I hope this is possible.

Thank you Damon 

Have more questions? Submit a request

4 Comments

  • 0
    Avatar
    michael sablone

    damon -- totally do-able.  in fact, i am going to move this thread to the how-to's instead of the feature suggestions since you can already do it.

  • 0
    Avatar
    michael sablone

    to add the facebook comments plugin to any page, you need to do three things. first, you need to add the facebook javascript code:
    Under Design > Developer > Custom Javascript

    (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&appId=235852159804872";
    fjs.parentNode.insertBefore(js, fjs);
    }(document, 'script', 'facebook-jssdk'));

    then you need to add some css to make sure they become responsive:
    Under Design > Developer > Custom CSS

    .fb-comments, .fb-comments iframe[style], .fb-like-box, .fb-like-box iframe[style] {width: 100% !important;}
    .fb-comments span, .fb-comments iframe span[style], .fb-like-box span, .fb-like-box iframe span[style] {width: 100% !important;}

     

    now that you have all the facebook plugin stuff in place globally, you just need to add this to any page you want comments on in the "Description" of any page:

    <div data-href="http://example.com" class="fb-comments" data-num-posts="2" data-width="400"></div>
     

    where "http://example.com" is the url of the page

  • 0
    Avatar
    Jon Rune Trengereid

    is it possible to connect this to a specific fb account so one would be given notice whenever anyone posted a comment?

  • 0
    Avatar
    Undo Lock

    I want to bypass icloud lock on iPhone 6S, Can I use this icloud bypass tool https://www.facebook.com/bypassicloudactivationlock/

Please sign in to leave a comment.
Powered by Zendesk