Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot add Comments Form to Page Template #64311

Closed
dmsnell opened this issue Aug 6, 2024 · 2 comments
Closed

Cannot add Comments Form to Page Template #64311

dmsnell opened this issue Aug 6, 2024 · 2 comments
Labels
[Block] Post Comments Form Affects the Comments Form Block [Feature] Site Editor Related to the overarching Site Editor (formerly "full site editing") [Type] Enhancement A suggestion for improvement.

Comments

@dmsnell
Copy link
Member

dmsnell commented Aug 6, 2024

What problem does this address?

It appears as though the editor does not allow adding comments to a Page template. The comments block is not in the list of available blocks, and when manually added, is restricted from moving around, adding inside a group, etc…

Everything is allowed by manually entering the serialized block markup in the text editor of the page template, and things work on the rendered front-end.

What is your proposed solution?

If comment blocks are explicitly and arbitrarily limited to Post templates, don't do this. Comments on Pages and other post types is allowable and normative.

Possibly related to #53188

@dmsnell dmsnell added [Type] Enhancement A suggestion for improvement. [Feature] Site Editor Related to the overarching Site Editor (formerly "full site editing") labels Aug 6, 2024
@t-hamano
Copy link
Contributor

t-hamano commented Aug 7, 2024

In my environment, I was able to insert the Comments Fomr block in the Page template in the site editor.

Is there a way to reproduce this issue?

image

@t-hamano t-hamano added the [Block] Post Comments Form Affects the Comments Form Block label Aug 7, 2024
@dmsnell
Copy link
Member Author

dmsnell commented Nov 6, 2024

Thanks @t-hamano – I double-checked and on a vanilla installation I was able to add the comments block. On my WordPress.com site, however, it's missing; I'm not sure what's preventing that.

Closing for now, since this is not an issue with WordPress itself, or Gutenberg.

@dmsnell dmsnell closed this as completed Nov 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Post Comments Form Affects the Comments Form Block [Feature] Site Editor Related to the overarching Site Editor (formerly "full site editing") [Type] Enhancement A suggestion for improvement.
Projects
None yet
Development

No branches or pull requests

2 participants