WordPress.org

Support

Support » Plugins and Hacks » Hacks » How to remove "| Comments Off " from being displayed?

How to remove "| Comments Off " from being displayed?

  • Hello,

    I am using twenty ten and setup a child theme which is great. I posted and was able to remove posted on and in but now I am never going to have comments allowed and even though it is off I really want to remove the”| Comments Off ” that is displayed. I have gone through functions.php and tried to remove that entire section but it breaks the code. Any suggestions or advice would be great.

    Thank you

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator t-p

    @t-p

    Volunteer Moderator

    see if any of these threads help:

    Thanks t-p but I dont see the comments are off anywhere in those files for Twenty-Ten.

    Our site is http://www.fpaonline.org and I tried editing what I thought may be it by changing comments to “asdf” but no luck. Here is the comments file and none of the other files index,etc. seemt o have any refernce to comeents:

    [Code moderated as per the Forum Rules. Please use the pastebin]

    Michael

    @alchymyth

    Forum Moderator

    ‘comments off’ is the default of the fifth parameter of:
    http://codex.wordpress.org/Function_Reference/comments_popup_link

    I usually just comment out the comments template request in the single.php file.

    At a quick glance, that would be loop-single.php for the 2010 theme. And I think you would want to replace
    <?php comments_template( ”, true ); ?>

    with

    <!– <?php comments_template( ”, true ); ?> –>

    guitarguyNEC,

    That worked great, thank you very much!! The comments off is all gone. I tried removing the pipe “|” by removing it out of loop.php but cant get rid of it but it looks great with the comments portion removed.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How to remove "| Comments Off " from being displayed?’ is closed to new replies.
Skip to toolbar