Support » Fixing WordPress » Remove Comments 0….how to?

  • Here is my site I am working on: http://www.called2careinc.org/

    I was able to go into the code and remove the “Leave a Reply” box, but now I have the “Comments 0 and the box” on all the pages.

    I tried to find out where to delete this from the comments.php file, but no luck.

    Can someone help me with this?

    Thanks in advance!

Viewing 8 replies - 1 through 8 (of 8 total)
  • Hi

    Do you want to completely remove the comments count?

    -Artur

    Thread Starter jbento

    (@jbento)

    yes i do

    Hi

    You would look for the following in the comments file;

    “comments_number” then delete the entire line from <?php to ?> and nothing else.

    Let me know how that works out for you

    Thread Starter jbento

    (@jbento)

    I deleted this line:

    <?php
    			printf( _n( 'One Response to %2$s', '%1$s Responses to %2$s', get_comments_number(), 'adventurejournal' ),
    			number_format_i18n( get_comments_number() ), '<em>' . get_the_title() . '</em>' );
    			?>

    but it is still there.

    Hi

    You sure you did it in the right file? I believe there is two. Don’t have a reference file right now to take a look.

    Thread Starter jbento

    (@jbento)

    I did it in the comments.php file.

    Thread Starter jbento

    (@jbento)

    Had to upload some fresh pages.

    Did the below from another posting I found:

    You’ll need to edit your theme template files (start with index.php) and remove reference to <?php comments_popup_link()?>.

    That did the trick.

    Thanks for all your help!

    The only issue you’re going to get there is if the theme is updated the code will probably come back (along with the issue).

    It’s not a lot of code, it might be simpler to css it out using display: none;

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Remove Comments 0….how to?’ is closed to new replies.