Skip to content

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

Open
@ash1eygrace

Description

@ash1eygrace

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    3. Scrubbed / ReadyTriage > 3. Scrubbed / ReadyNeeds triageTicket needs to be triaged[Type] BugWhen a feature is broken and / or not performing as intended

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions