-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Custom HTML block with googlemaps embed does not display map when added to a template #87784
Comments
Support References This comment is automatically generated. Please do not edit it.
|
Could be related to #87911 |
📌 REPRODUCTION RESULTS
|
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 |
Another case: 8347647-zen |
This seems like it's a wider spread issue for other short codes in FSE templates. I was able to reproduce the issue on simple sites for both Crowdsignal and Google Maps short codes, using the Zoologist theme. |
Confirmed that it doesn't work in the template but do work in the post/page. |
It seems to be a Jetpack issue and related to jetpack_googlemaps_embed_to_short_code because it works well on the WordPress Playground |
There are 2 issues that why the googlemaps embed might not work well on simple sites
|
Follow the instruction here, p7DVsv-hsr-p2, the workaround is to convert the googlemaps embed into a template part so it can display correctly on the content of the template. |
Asked p1725969458829019-slack-C4EUDHL80 |
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
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.
The text was updated successfully, but these errors were encountered: