Problem removing 0 comments from the main page
-
Hello,
Please help me with the following problem:
I can’t remove line // 0 Comments on the main page of kazakhworld.com, although I was able to remove it from pages with posts.
Here is what I tried:
I modified this line in mh-widget.php
“<p class=”meta”><?php $post_date = get_the_date(); echo $post_date; echo ‘ // ‘; comments_number(__(‘0 Comments’, ‘mh’), __(‘1 Comment’, ‘mh’), __(‘% Comments’, ‘mh’)); ?></p>” where I remove everything that is not needed and got:
“<p class=”meta”><?php $post_date = get_the_date(); echo $post_date; ?></p>”
I also added a tag into css to hide meta, but didn’t work at all..
I am new to WordPress with some Java knowledge, can you please help me understand what the problem is? I need to leave out the date assigned to each post but remove “// 0 comments”. I also tried to delete everything from mh-widget.php and the web site is running OK, thus I think that this file isn’t even used..
Thank you very much!
- The topic ‘Problem removing 0 comments from the main page’ is closed to new replies.