Hi,
I tried to find the code which shows the messages 'Comments are closed' or other messages for the portfolio items.
As I am not going to use the comments functionality on the portfolio.
Hi,
I tried to find the code which shows the messages 'Comments are closed' or other messages for the portfolio items.
As I am not going to use the comments functionality on the portfolio.
Hey,
replace following code in single.php:
<span class="comments"><?php comments_popup_link(__('No Comments','avisio'), __('1 Comment','avisio'), __('% Comments','avisio')); ?></span>
with:
<?php if( get_post_type() != 'portfolio' ) {?>
<span class="comments"><?php comments_popup_link(__('No Comments','avisio'), __('1 Comment','avisio'), __('% Comments','avisio')); ?></span>
<?php } ?>Hi dude,
I cannot find the code in the single.php:
<!-- If comments are closed. -->
<span class="meta"><?php _e('Comments are closed.','avisio'); ?></span>
The goal is to remove the message 'Comments are closed or 1 Comment etc...
Hey,
I'm sorry, I used the wrong theme :) - I updated the instructions above...
hi dude,
Yes that's just perfect ... thanks again for your quick support!
Glad that I could help you :)
You must log in to post.