Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialKristoffer Lund
11,133 PointsCustom Post Types UI - Allow Comments.
As the title states. I been trying to solve this problem for a couple of days now. I'm using the Custom Post Type UI and Advanced Custom Fields plugins.
The problem is that the "Comments Closed" appears then i'm adding the comments_template. I have check supports Comments in the settings.
Anyone have a workaround for this? I have been unable to find a online guide.
1 Answer
Sue Dough
35,800 PointsDid you add the following in your template?
<?php comments_template(); ?>
Have you checked the checkbox on that specific post to allow comments?
Kristoffer Lund
11,133 PointsKristoffer Lund
11,133 PointsI just double checked it. I have added the comment_template(). But every time i check the checkbox to allow comments and update it, it unchecks.
But i'm able to add comment manually through the admin panel.
Sue Dough
35,800 PointsSue Dough
35,800 PointsDo you have a comments.php template?