Illustratr Theme Bug Report: Comments not displaying on Single Portfolio Page
-
Hello,
I would like to report that comments don’t show up on the single portfolio template on the Illustratr theme.
The theme’s code actually calls a function to display the comment area:
<?php while ( have_posts() ) : the_post(); ?> <?php get_template_part( 'content', 'portfolio-single' ); ?> <?php // If comments are open or we have at least one comment, load up the comment template if ( comments_open() || '0' != get_comments_number() ) : comments_template(); endif; ?> <?php illustratr_post_nav(); ?> <?php endwhile; // end of the loop. ?>https://wpcom-themes.svn.automattic.com/illustratr/single-jetpack-portfolio.php
But it doesn’t appear to show the comment area. Here’s my test portfolio post for example: janganbunuhdiri.wordpress.com/portfolio/test/ I already have comments open on my site, but it shows nothing.
A couple of other users were reporting the same too: https://en.forums.wordpress.com/topic/can-i-enable-comments-on-my-portfolio-project
Solution:
I don’t see anything wrong with the theme’s code, so my guess is that the jetpack-portfolio Custom Post Type was declared without support for comments. I can’t find the source code for this, though, and the regular Jetpack plugin over at Github does not seem to contain a Portfolio module.
Help?
-
Hi Hafiz!
Thanks for the report! We actually don’t have comments on Portfolio posts at all. This is part of their design. The code you reference is probably just left over from code that was modified for the Portfolio template.
And you’re right, we haven’t added the Portfolio CPT to Jetpack yet.
Let me know if you want me to follow up further!
-
Hi Shawna,
So there is no way to add comments? Do you know of another theme with a portfolio format that does allow comments? I love the portfolio layout on Illustratr but I really need comments so I may look for an alternative. Thanks for your help!
-
Hi mjmedit!
Comments are disabled for the Portfolio Custom Post Type entirely. No theme will allow comments on the Portfolio pages.
You may be interested in a theme that offers a Grid template instead. These grids are filled with standard Pages, so you can enable comments.
Off the top of my head, I know that the Motif theme has a Grid template.
Let me know if I can help further!
-
- The topic ‘Illustratr Theme Bug Report: Comments not displaying on Single Portfolio Page’ is closed to new replies.