Okay
  Public Ticket #1780420
Facebook Comments Colorcheme
Closed

Comments

  • Ali started the conversation

    How do I change the FB comments colorcheme from light to dark?

    Background is dark so the dark text doesn't show now.

    And also how do I get the FB comments count to be shown on the article's comment count?

  •  93
    djwd replied

    Hi there,

    open single.php and at line 32:

    <div class="fb-comments" data-width="100%" data-href="<?php echo esc_url($url); ?>" data-num-posts="4"></div>

    add the data-colorscheme attribute, so it becomes:

    <div class="fb-comments" data-width="100%"  data-colorscheme="dark" data-href="<?php echo esc_url($url); ?>" data-num-posts="4"></div>
    

    should do the trick.

    Unfortunately though the comments count for fb comments isn't supported at this time.

    Regards
    djwd

  • Ali replied

    Thank you :)