If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.
How can I enable the comment form an single page, a singe portfolio item or add it to a dynamic template? Is there a way?
Any help is appreciated.
you would include
wherever you’d like to have your comments/comment form displayed.
In your case it would be in single.php and in single-portfolio.php around this line
Thank you for the hint. I modified the files to display the comments form in page and single portfolio.
I have included the code snippet above to show comments on custom templates (Corona Theme), but also need some sort of conditional code to make the display (or non-display) of comments agree with the “Allow comments” check box for any given posting.
Allowing comments works great, the box appears, etc. But if I choose to not allow comments, I still get this block of text:
Comments are closed.
Leave a Reply
Want to join the discussion?
Feel free to contribute!
Anyway to make that not appear?
The topic ‘Enable comment form on single page/portfolio’ is closed to new replies.