WordPress.org

Ready to get started?Download WordPress

Forums

Remove number of comments which appears just after every posts and on index page (3 posts)

  1. manukankani
    Member
    Posted 3 years ago #

    How to remove number of comments from all the pages of wordpress.
    Note: I have deleted comment_form(array=>... from comments.php to remove wordpress comments box. I am using facebook comments only.
    But now I am stuck with number of comments. I am creating iitbakar(.)com is website, still in development phase.
    I am using suffusion theme.

    My actual question is:
    which function and file is getting comments count?
    In which file we are sending it to browser?
    Can I replace wordpress_comment_count by facebook_comment_count?

    Please help.

  2. manukankani
    Member
    Posted 3 years ago #

    I am calling add_filter( 'comments_template', 'facebook_comments') in plugin. which will display facebook comments box in comments template and removed wordpress comment box.

    Have successfully retrieved fb comments as well. But not able to find what to replace so it will show fb comments count instead of wp comments count.
    Even removing comments_count will do, if not replaced by fb comments count.

    Thanks in advance.

  3. Sayontan Sinha
    Member
    Posted 3 years ago #

    You can hide the comment count from Suffusion Options → Other Graphical Elements &attr; Post and Page Bylines.

Topic Closed

This topic has been closed to new replies.

About this Topic