WordPress.org

Ready to get started?Download WordPress

Forums

Facebook Comments
[resolved] Placement of Facebook comments box (7 posts)

  1. kwerri
    Member
    Posted 2 years ago #

    Hi,

    I would like to show the Facebook comment box at a custom position as well as showing the regular WordPress comments.

    I know it's possible to use a shortcode to place the Facebook comment box exactly where I want it on the post pages, but the problem is that the comment box is showing just at the end of the post as well (the default position).

    In other words, I'm ending up with [1] the WordPress comments; [2] the Facebook comment box in my custom position and [3] the Facebook comment box at the default position (after the post content).

    How do I prevent the comment box from showing at the default position (and only get it to show at my custom position)? In other words, how do I get [1] and [2] without [3]?

    http://wordpress.org/extend/plugins/facebook-comments-plugin/

  2. siprof
    Member
    Posted 1 year ago #

    Hi,

    I have the same problem. I want to make Facebook Comments under the navigation not under the post. I've ever tried edit my single.php and put echo do_shortcode('[fbcomments]'); under navigation code but it doesn't work...

    Here is my blog: http://www.mobgenic.com

  3. siprof
    Member
    Posted 1 year ago #

    Just figured it my self :)

    Go to Settings > Facebook Comments > Display Settings > uncheck Post
    Then edit single.php and insert something like:
    <div class="comments"></br><h3>Komentar:</h3></br><?php echo do_shortcode('[fbcomments width="600" scheme="light" linklove="off" count="off" num="5" countmsg="comments"]'); ?></div>

    You can change the class by modifying or searching at your style.css

  4. Alex Moss
    Member
    Plugin Author

    Posted 1 year ago #

    @siprof spot on :)
    you can then use conditional elements to exclude it from specific posts/pages...

  5. ten uy
    Member
    Posted 1 year ago #

    what about in comment.php? thanks.

  6. Asif Mushtaq
    Member
    Posted 1 year ago #

    I have solved by following siprof thanks. You can see facebook comments on my site http://chattk.com/

  7. AdamC6
    Member
    Posted 1 year ago #

    Aloha Alex! Awesome plugin! Quick question. I'm using the genesis framework and wondering how to disable the FB comments on certain pages. I'm running a contest on one page that already has FB comments for example and need to remove it from that page.

    Thanks so much,

    Adam

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic