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

Contact Form does not render on FSE when home page is set to last blog post. #61103

Closed
csabarakasz opened this issue Feb 15, 2022 · 2 comments
Closed
Labels
[Block] Contact Form [Feature] Full Site Editor The site editor. [Goal] Full Site Editing [Type] Bug When a feature is broken and / or not performing as intended

Comments

@csabarakasz
Copy link

Quick summary

User placed a Contact Form on the Index Template page with FSE. In Editor, the contact form renders as expected. On the live site, it only shows short code.

The user did not set the home page correctly. It was set to last blogs posts, which they did not have any. The site still showed the Index Template but the contact form did not render. When I created a new template with the same content as the Index template, including the contact form, and set it as home page, the contact form rendered correctly.

Also, interesting that if a site's homepage is marked as "Your latest posts", the "Index" template loads the design of the homepage?

slack-imgs com

Steps to reproduce

Created an index Template.
Created Contact Form on Index Template.
In Customizer, Home Page setting is on "Last Blog Posts".
The site shows the Index Template as a home page.
Contact Form is not rendering.
Copying the Index Template content to a new Template.
Naming new Template Home Page.
Setting the new Template as Home Page in Customizer.
Contact form renders correctly.

What you expected to happen

Contact form rendering even if the home page settings is wrong.

What actually happened

Contact form did not render.

Context

Slack: p1644395794117579-slack-C03TY6J1A
Ticket: 4762945-zd-woothemes , message from February 9th at 11:03

Simple, Atomic or both?

Simple

Theme-specific issue?

No response

Browser, operating system and other notes

No response

Reproducibility

Consistent

Severity

One

Available workarounds?

Yes, easy to implement

Workaround details

Creating a new Template as a home page.

@csabarakasz csabarakasz added [Type] Bug When a feature is broken and / or not performing as intended [Block] Contact Form [Goal] Full Site Editing User Report [Feature] Full Site Editor The site editor. labels Feb 15, 2022
@edequalsawesome
Copy link

This is the same issue in the Jetpack repo that Katie mentioned -- I dropped the ticket in as a comment there, and will close this in favor of that issue :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Contact Form [Feature] Full Site Editor The site editor. [Goal] Full Site Editing [Type] Bug When a feature is broken and / or not performing as intended
Projects
None yet
Development

No branches or pull requests

3 participants