I have checked the "Allow Comments" box for this portfolio item: http://www.thevelvetroom.dk/portfolio-item/franny/
- but comments are not there.
How do I get them to appear?
Comments missing on portfolio item
7 posts from 3 voices-
Posted 10 months ago #
-
Open up includes/loop-portfolio-single.php and replace following code:
<div class='post-meta-infos'> <?phpwith:
<div class='post-meta-infos'> <?php if(comments_open() || get_comments_number()) { echo "<span class='comment-container minor-meta'>"; comments_popup_link(" <span>0 ".__('Comments','avia_framework')."</span>", " <span>1 ".__('Comment' ,'avia_framework')."</span>", " <span>% ".__('Comments','avia_framework')."</span>",'comments-link', __('Comments Off' ,'avia_framework')); echo "</span><span class='text-sep comment-container-sep'>/</span>"; }Posted 10 months ago # -
Dude, thanks, but that only gave me the number of comments in the meta info. I would like the comments to actually show below the portfolio item.
Posted 10 months ago # -
Yep - forgot to mention that :)
Open up single-portfolio.php and replace:
//show related posts based on categories if there are any get_template_part( 'includes/related-posts' );with:
//show related posts based on categories if there are any get_template_part( 'includes/related-posts' ); //wordpress function that loads the comments template "comments.php" comments_template( '/includes/comments.php');Posted 10 months ago # -
That´s it :-)
Now while we at it, can you tell me how I revove the part under the comment field that looks like this:
You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>Posted 10 months ago # -
No worries, I found it.
Thanks!
Posted 10 months ago # -
Hey,
Glad that is fixed.
Regards,
IsmaelPosted 10 months ago #
Topic Closed
This topic has been closed to new replies.














