Support » Plugins and Hacks » Change Comments

  • Hi everyone
    I’m new to wordpress (installed today). But I have a (or many?!) Question: How can I completly remove the “comment” so nobody is able to see “Comments Off” (of course I could make the color white but that seem to me not very clever).
    Thank you for helping!
    Matthias, Switzerland

Viewing 11 replies - 1 through 11 (of 11 total)
  • What is it you want to do ?
    – completely remove the ability for any comments at all
    – change the color/appearance only when you choose not to have comments on a post
    Each needs a different approach 🙂

    Hi podz 🙂
    – comletely remove the ability for any omments at all
    <- that’s what I want :-).

    If you just want the link to not appear, you can look in your index.php file for this line:
    <?php comments_popup_link(__('Comments (0)'), __('Comments (1)'), __('Comments (%)')); ?>
    And change it to:
    <?php comments_popup_link(__('Comments (0)'), __('Comments (1)'), __('Comments (%)'),'',''); ?>

    Ok I think … that should be enough. Remove the ability to give some comments is probaply more complex.
    thank you for your help.

    It’s not 🙂
    It’s just that you’ll need to alter what the program outputs when you have ‘Comments Off’.
    You could change that to anything you wanted.

    hmm I copied your line but it didn’t change anything. Could you help me again (perhaps a mistake on my side?)

    Do this:
    <?php // comments_popup_link(__('Comments (0)'), __('Comments (1)'), __('Comments (%)')); ?>
    The two // comment out the commenting 🙂

    sorry but *lol* I’m a stupid? … ehm it didn’t help me either …
    regards matthias

    Hi ringmaster and podz
    Both version failed … I can still see “Comments off”. Any ideas?

    Line 58
    Change the text there ?

    That’s severe, but it should work best. It’s the only place in the whole program that those words appear.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Change Comments’ is closed to new replies.