Open
Description
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:
- Activate the Twenty Twenty-five theme
- Open the Site Editor yoursite.com/wp-admin/site-editor.php
- Click Templates
- Click Add Template
- Choose Front Page and select a default page pattern.
- Click + and add an HTML block.
- 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>
- 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