I'm not using the comment function so I would like to remove this totally in all post. Can you tell me how to do this?
how to remove "No Comments"
9 posts from 4 voices-
Posted 1 year ago #
-
Hey,
delete following code in single.php:
<div class='entry commententry'> <?php comments_template(); ?> </div>Posted 1 year ago # -
Thanks for this..
Actually I would like to remove is the "No Comments" text and icon underneath every post title -- in all template/pages.
Posted 1 year ago # -
Thanks for the instruction. When I check each post (each page), there is no "date", "comments off" and "by author" under the post title.
Unfortunately, these texts are still come up when I check the main front page/ index page (landing page). How can I delete it? I am talking about the front page with sliders, under the sliders there are spaces for article appearances, under those article titles, "date", "comments off" and "by author" can still be seen. I'm using Newscast template. Thank you very much for your help and support. Kind regards.
Posted 1 year ago # -
Webcadre,
In your style1.css find
.entry-head .comments{
here, between the brackets add:
display:none;
Patrick,in your style.css find
.entry-head{
here, between the brackets add:
display:none;Let me know if it works :)
Posted 1 year ago # -
Hi Chris,
Thank you so much. It works.
Kind regards,
PatrickPosted 1 year ago # -
Glad that I could help :)
Posted 1 year ago # -
Thanks Chris. It worked
Just one more question related to this. I noticed that the Author is not being shown in when posts are presented in "Small articles". It only show the Date by default. Is possible to show the author as well in Small article format?
Thanks,
Posted 1 year ago # -
The problem is that there's not enough spaace for the author meta data. You can add it however the result looks wired. In index.php & archive.php replace:
<div class="entry-head"> <span class="date ie6fix"><?php the_time('M d, Y') ?></span> <span class="comments ie6fix"><?php comments_popup_link(__('No Comments','newscast'), __('1 Comment','newscast'), __('% Comments','newscast')); ?></span> </div>with:
<div class="entry-head"> <span class="date ie6fix"><?php the_time('M d, Y') ?></span> <span class="comments ie6fix"><?php comments_popup_link(__('No Comments','newscast'), __('1 Comment','newscast'), __('% Comments','newscast')); ?></span> <span class="author ie6fix"><?php _e('by','newscast');?> <?php the_author_posts_link(); ?></span> </div>Posted 1 year ago #
Reply
You must log in to post.














