Support » Fixing WordPress » How Do I Remove The Comment ID (The numbering next to the comments)

  • Resolved neospyce


    I would like to remove the numbers from the comments in my blog. Reason? I installed a plugin to reverse order my comments so that the newest comment shows first, however with them being numbered, the newest shows up at #1. I am sure that it would be confusing to visitors so I am asking for a solution to remove the numbers. BTW, I don’t have a single.php in the theme that I am using, so I had to change the code in index.php versus single.php as instructed by the plugin readme.txt . It worked so now I am focusing on the number issue. Your help is greatly appreciated in advance.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Using the default theme as an example…

    Check your theme’s comments.php file. In there, you’d see a line similar to:
    id="comment-<?php comment_ID() ?>">

    comment it out or remove it.

    If you don’t have a line like that in your theme, keep looking in comments.php for comment_ID().

    Thanks. There are several instances of that code, especially nested well within other syntax. I do not know enough about php to figure out which hashmarks, etc. to delete, but I am willing to do it if you can tell me where? Here is the link to it:

    Thanks In Advance. Smiles.

    For grins, change

    <ol class="commentlist">

    to an unordered list:

    <ul class="commentlist">

    What a simple and easy solution! Great! It enlarged and “bolded” my text and with the dot there to decorate, it looks “prettier”. Thank you very much. Grins.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How Do I Remove The Comment ID (The numbering next to the comments)’ is closed to new replies.