Topic: Hide all references to comments

I have comments turned off in my wordpress setup.

The arras theme still shows the references to comments.

For example on posts and pages it will says "comments closed"

When you display by Node based - It will show you a speech bubble with a 0 beside it.

When you display by per line it will say "no comments".

It would be great if under the layout options of the theme, it had a tick box to disable comments or turn the display off.
A bit like how you can turn different options off and on for the single post.

hope this makes sense. I know I can go an edit the pages and that delete the code or mark out the code. But that means I'll have to re do it after every update.

Last edited by joemailey (2010-07-21 10:21:52)

Thumbs up

Re: Hide all references to comments

I'd like that feature too and for the time being maybe there is a way to manually modify certain php files to achieve this.
(see also: this request in the CG sub forums)

Last edited by dau (2010-07-22 07:42:56)

Thumbs up

Re: Hide all references to comments

Sure there is a way to do it manually. Simply remove

    <a name="comments"></a>
    <?php comments_template('', true); ?>

from single.php and page.php

My Arras themed & Arras related site: NullCore.
Please ask questions about Arras on forum, not through mail, thanks.

Re: Hide all references to comments

Thanks it works without remove with "<!--" before "-->" after
What about Time and No comments on the Archive page just under the Title?

Thumbs up

Re: Hide all references to comments

Is there a way to do this in a child theme besides editing single.php page.php and adding the edited versions in the child theme area

Thumbs up

Re: Hide all references to comments

extatix wrote:

Sure there is a way to do it manually. Simply remove

    <a name="comments"></a>
    <?php comments_template('', true); ?>

from single.php and page.php

Thanks. This worked for my site. I was looking how to do it and your answer worked. - Greg H. - Millionaire Mind Seminar - Reviewer

Thumbs up

Re: Hide all references to comments

Hi,
I've succesfully hidden comments on an Arras blog I'm working on - except on the frontpage, where there is a 'number of comments icon'. How do I get rid of that?
Currently it can be seen here: http://wazee.dk/wp/

Last edited by pevista (2011-12-13 11:00:44)

Thumbs up

Re: Hide all references to comments

I've got the same problem on the front page, I removed the comment's template on single.php but the number of comments is still on the front page. I can't localize were we can find these lines. Thanks for Answer(s) wink

Thumbs up