Contact Form does not render on FSE when home page is set to last blog post. #61103
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
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?
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.
The text was updated successfully, but these errors were encountered: