wp-calypso
wp-calypso copied to clipboard
Custom HTML block with googlemaps embed does not display map when added to a template
Quick summary
Following guide for Embed From Google Maps, when added to a Page Template in an FSE theme such as Assembler, the map does not display and only the shortcode text displays.
User report: 7779609-zd-a8c
Steps to reproduce
- Create new Simple site with Assembler theme
- Edit the Pages template and Embed a Google Map and save the template
- Check a Page on the front end using the default Pages template and see the map is not displayed, but only the shortcode text:
What you expected to happen
The Google map should display
What actually happened
Only shortcode text is displayed
Impact
Some (< 50%)
Available workarounds?
Yes, easy to implement
Platform (Simple and/or Atomic)
Simple
Logs or notes
This was tested on a Simple site only with Assembler theme. Adding the shortcode directly to a Page instead of a Template works.
Support References
This comment is automatically generated. Please do not edit it.
- [ ] 7779609-zen
- [ ] 8085725-zen
- [ ] 8212437-zen
- [ ] 8340778-zen
- [ ] 8347647-zen
- [ ] 8570902-zen
Could be related to https://github.com/Automattic/wp-calypso/issues/87911
📌 REPRODUCTION RESULTS
- Tested on Atomic – Replicated as per OP instructions
A customer report here: #7944005-hc
Another report here 8085725-zen
Another case: 8212437-zd-a8c
8212437-zen ( needs to be followed up)
Another case: 8340778-zd-a8c Shared workaround, seen here, which works when I tested it on one of my test sites.
Another case: 8347647-zen Provided workaround
This seems like it's a wider spread issue for other short codes in FSE templates. This user is unable to get the privacy short code for WordAds to display in a Single Post template using the Zoologist theme. I don't have any WordAds enabled sites to test, but the workaround is the same here, expect the short code needs to be added to each post rather than the Single Post template.
I was able to reproduce the issue on simple sites for both Crowdsignal and Google Maps short codes, using the Zoologist theme. 8570902-zen