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 trialDemi Timmermans
1,162 Pointsgetting blank wp-comments-post.php after posting
I'm getting a blank wp-comments-post.php after posting a comment. Please help me to solve it.
Demi Timmermans
1,162 PointsThanks for your message Craig.
I have a comments.php file. And when I go back to te page with the comments form, the earlier sent message is visible.
Demi Timmermans
1,162 PointsThe other content on the page is showing, sorry for giving this answer very late.
1 Answer
Andrew Shook
31,709 PointsDemi, can you please post your code for the comment template and the page template.
Demi Timmermans
1,162 PointsI don't need to use a comment.php file, right? By not using the comments.php, WordPress wil use the default. But even then I'm getting the blank wp-comments-post.php. I tried to switch to another theme and posting a comment is working fine.
Does someone have an idea to fix this?
Craig Watson
27,930 PointsCraig Watson
27,930 PointsHi Demi :)
Is the content not showing at all on your site? / do you have a comments.php ?
Craig