Comment form in the content template wordpress block - I can see the comment box is working when used without content template . But when content template used not comment box present even though its enabled . Please let us know how to enable it
Using a Content Template shouldn't affect whether the theme outputs the comment section or not, the Content Template simply replaces the part of the theme template that outputs the post body (specifically, what is output by the function the_content() ).
I just tested this with a couple of the default themes (twentytwenty and twentynineteen) and it works as expected.
The difficulty with comments for custom post types is that they are not very user friendly in WordPress. You declare support for comments when setting up the post type, but this is actually support for turning comments on/off at an individual post level, and if you want users to be able to comment on a post of a custom type you need to activate it on each post when you save it.
If you have an example of a theme where this doesn't work I can try and reproduce the problem.
Hi,
The theme we are using is , Elemin theme from themify.me
I have enabled the comment in single post but it not showing the comment box . When no content template selected it will show the comment box
I installed the theme on my test site, and the comment section still worked.
On the front end I'm displaying a custom post which has comments enabled using a Content Template made with Blocks, and the post content is shown, followed by the comment section.
I think I'll need to access your site to see the problem for myself. Can you first just check that the problem still happens when all plugins except Toolset are disabled, to rule out a conflict with some plugin.
I'll mark your next reply as private so you can share credentials.
The topic ‘[Closed] Comment form in the content template wordpress block’ is closed to new replies.