Here is a CSS hack to remove the “Comments Off” text:
1) Add a class name (using removecomment in this example):
<div class="entry_footer">
<span class="read_more">" rel="bookmark" title="<?php _e('Permalink to ',woothemes); ?> <?php the_title(); ?>">→ <?php _e('Read the full story ',woothemes); ?> | <span class="removecomment "><?php comments_popup_link(__(' ',woothemes), __('1 Comment',woothemes), __('% Comments',woothemes)); ?></span></span>
</div>
[Moderator Note: Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]
2) Go to your stylesheet (http://themarylhurstschool.com/wp-content/themes/digitalfarm/style.css) and add this:
.removecomment {
display: none;
}
Where do I add a class name?
Compare your code and what I posted. I added “removecomment”.
For CSS (http://themarylhurstschool.com/wp-content/themes/digitalfarm/style.css), add
.removecomment {
display: none;
}
This can go anywhere but put it somewhere near all your comment styles.
(@ikellyfitz)
10 years, 3 months ago
I am working on the http://www.themarylhurstschool.com website and I am trying to turn off the “Comments Off” from the top posts displayed on the home page of the site.
In the index file I found what I think I need to edit, but after trying a few things out I still can’t remove the “Comments Off”:
[Moderator Note: Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]
Any thoughts?