Is it possible to remove the little “no comments” and “catagory” tags at the top? The little ones just underneath the title.
open up single.php and delete following code:
<span class="comments"><?php comments_popup_link(__('No Comments','habitat'), __('1 Comment','habitat'), __('% Comments','habitat')); ?></span>
<span class="categories"><?php the_category(', '); echo $terms; ?></span>
Hey sorry, I just noticed that fixes the pages themselves, but it doesn’t seemto be removing the tags from the news page that lists multiple articles
please modify index.php and archive.php the same way like single.php (see instructions above).
I use the Flashlight theme and can’t find these line of codes either in single.php, index-php nor archive.php
I would like to only remove the “0 comments” mark since i removed the commet function.
Flashlight is a more recent theme so you would need to open loop-index.php located in flashlight/includes/ and remove the code below.
<?php if ( comments_open() )
echo "<span class='comment-container minor-meta'>";
"1 ".__('Comment' ,'avia_framework'),
If you need more help please start a new thread. I’m going to close this particular thread since it’s from a year ago and for a different theme.
The topic ‘Remove the "no commenst" and "catagory" icons on portfolio and blog posts’ is closed to new replies.