Hi, i want to remove that comment count, right under the post date on the top left. I found a thread here saying to remove a bit of code in loop-index, but without success.
Thanks
Hi, i want to remove that comment count, right under the post date on the top left. I found a thread here saying to remove a bit of code in loop-index, but without success.
Thanks
Hi,
You can remove this by going in loop-index.php and removing line 29 to 33.
<span class='comment-container'><?php comments_popup_link("<strong>0</strong> ".__('Comments','avia_framework'), "<strong>1</strong> ".__('Comment' ,'avia_framework'),
"<strong>%</strong> ".__('Comments','avia_framework'),'comments-link',
"<strong></strong> ".__('Comments<br/>Off','avia_framework')
); ?>
</span>
If you are uncertain you can put " <!-- " in front of it and " --> " behind it. This will ensure your code isn't lost, but it wont be run.
Thanks, that took it out from the blog page (posts listings) but not in the blog post itself. Any idea?
Thanks again for great support
You can do the same for loop-archive.php, apply on line 29 through 33.
<span class='comment-container'><?php comments_popup_link("<strong>0</strong> ".__('Comments','avia_framework'), "<strong>1</strong> ".__('Comment' ,'avia_framework'),
"<strong>%</strong> ".__('Comments','avia_framework'),'comments-link',
"<strong></strong> ".__('Comments<br/>Off','avia_framework')
); ?>
</span>Thanks
Glad I could help :)
You must log in to post.