Skip to content

Google Maps not rendering in Front Page template on Simple sites #103651

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

Open
ash1eygrace opened this issue May 22, 2025 · 2 comments
Open

Google Maps not rendering in Front Page template on Simple sites #103651

ash1eygrace opened this issue May 22, 2025 · 2 comments
Labels
3. Scrubbed / Ready Triage > 3. Scrubbed / Ready Needs triage Ticket needs to be triaged [Type] Bug When a feature is broken and / or not performing as intended

Comments

@ash1eygrace
Copy link
Member

ash1eygrace commented May 22, 2025

Context and steps to reproduce

When a Google Maps iframe is added to the Site Editor's Front Page template on a simple site, it's correctly converted to the [googlemaps] shortcode, but once saved the map does not render on the live homepage. It just displays the shortcode.

trim_2t8NfA.1.mp4

Steps to reproduce:

  1. Activate the Twenty Twenty-five theme
  2. Open the Site Editor yoursite.com/wp-admin/site-editor.php
  3. Click Templates
  4. Click Add Template
  5. Choose Front Page and select a default page pattern.
  6. Click + and add an HTML block.
  7. Paste the iframe into the shortcode.
<iframe src="https://www.google.com/maps/d/u/0/embed?mid=1ChcpDo9Gax62-YWUblCijQCuvCmZ4TI&ehbc=2E312F" width="640" height="480"></iframe>
  1. Save and view the live site.

Observe that the map does not render, and only the plaintext short code is displayed.

Other notes:

I tested two themes and the issue occurs on both: Twenty Twenty-Five and Aigoo themes.

Site owner impact

Fewer than 20% of the total website/platform users

Severity

Moderate

What other impact(s) does this issue have?

No response

If a workaround is available, please outline it here.

Workarounds are:

  • Use the Maps Block
  • Use the default homepage Site Editor template instead of the Front Page template
  • Upgrade to Business/Commerce

Platform

Simple

@ash1eygrace ash1eygrace added [Type] Bug When a feature is broken and / or not performing as intended Needs triage Ticket needs to be triaged labels May 22, 2025
@ash1eygrace
Copy link
Member Author

9800996-zd-a8c

@arunsathiya arunsathiya added the 3. Scrubbed / Ready Triage > 3. Scrubbed / Ready label May 23, 2025 — with Linear
Copy link
Contributor

📌 REPRODUCTION RESULTS
- Tested on Simple – Replicated
- Tested on Atomic – Not applicable
- Tested on P2 (optional) – Uncertain
- Replicable outside of Dotcom – Not applicable

📌 FINDINGS/SCREENSHOTS/VIDEO
I did not create a new template, but I could reproduce on a simple site's default "Blog home" template. (Twenty Twenty-Five theme)

image.png

image.png

📌 ACTIONS
- Triaged; moving to "Editor Experience" team.

📌 Message to Author
Thank you for reporting, the details were very helpful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. Scrubbed / Ready Triage > 3. Scrubbed / Ready Needs triage Ticket needs to be triaged [Type] Bug When a feature is broken and / or not performing as intended
Projects
None yet
Development

No branches or pull requests

2 participants