WordPress.org

Ready to get started?Download WordPress

Forums

Facebook
[resolved] WordPress comments & Facebook Comments box (15 posts)

  1. yuravw
    Member
    Posted 1 year ago #

    I want the wordpress comments and the facebook comments under a blog post. But I can not turn them both on. Can anyone help?
    http://www.paradepaard.nl/

    http://wordpress.org/extend/plugins/facebook/

  2. CrossX
    Member
    Posted 1 year ago #

    Remove the css_hide function inside comments file or delete the display:none; under hide.min.css file

  3. yuravw
    Member
    Posted 1 year ago #

    Where can I find these... I don't understand.

  4. Niall Kennedy
    Member
    Plugin Author

    Posted 1 year ago #

    The Facebook Comments Box is meant as a replacement for WordPress comments. New comments submitted through Comments Box are stored on Facebook servers; WordPress comments stored on your server are not synchronized.

    By default most themes list existing comments for the post and invite new comments in a comments form. Displaying two comment submission areas (WordPress and Facebook Comments Box) could lead to visitor confusion.

    The plugin loads a CSS file to hide existing comments and the comments form.

  5. sophistry
    Member
    Posted 1 year ago #

    any reason why the 1.1.5 version overrides the comments_number() customization i have in my theme? specifically, i use three params
    comments_number('0','1','%')

    and the fb plugin seems to write its own version adding Comments as a string...

    why?

    thx

  6. Niall Kennedy
    Member
    Plugin Author

    Posted 1 year ago #

    sophistry: Facebook Comments Box stores comments on Facebook, not on WordPress. The comments_number function supports customizing text for no comments, one comment, or more than one comment. The Facebook comments number is filled in by the Facebook JavaScript SDK based on a special comments-count element added to the page.

    The comments_number function would always evaluate based on a comments number of zero. The Facebook JavaScript SDK is able to fill-in a value after the page has loaded, which best matches the __('% Comments') default of WordPress for the outputted number.

  7. vishnudath
    Member
    Posted 1 year ago #

    Niall : i want to display both WP comments and FB comments and i want to remove FB comments number (if possible)

    can you please help me in this issue.

  8. Niall Kennedy
    Member
    Plugin Author

    Posted 1 year ago #

    sophistry: you may now customize the text through the facebook_comments_number_more filter. Default remains the translated string "% Comments"

  9. Niall Kennedy
    Member
    Plugin Author

    Posted 1 year ago #

    vishnudath: Facebook affects comments numbers by acting on filters. You can call remove_filter from your code.
    http://plugins.trac.wordpress.org/browser/facebook/tags/1.1.8/facebook.php#L228

  10. vishnudath
    Member
    Posted 1 year ago #

    Niall : is it possible show both WP and FB comments ?

  11. CrossX
    Member
    Posted 1 year ago #

    vishnudath, yes is possible to show both comments form

  12. vishnudath
    Member
    Posted 1 year ago #

    crossX : but how, when i'm activating FB Comments it is automatically hiding all existing WP comments and WP comment form.

  13. JoshLovesIt
    Member
    Posted 11 months ago #

    I see both FB comments box and the WP comment form, but I can't figure out how to put the FB box first on the page. Any ideas?

  14. CrossX
    Member
    Posted 9 months ago #

    @josh

    place the code over the comment_form(); function in comments.php file.

  15. lwnmag
    Member
    Posted 8 months ago #

    Please can someone tell me how exactly should i do to display both facebook comment and wp comments on a post? i successfull did it but when someone try to post a comment through "wp form" it returns a notification: "Comments are closed"
    But Facebook comments are working fine.
    Thank You

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic