Google Maps doesn’t get converted to [googlemaps] shortcode
-
The page at the link is temporary and may be moved later. It is password-protected, just enter “test”.
According to the https://support.wordpress.com/google-maps/ article, when using Block Editor, after entering Google Maps generated code and saving it, it should change to
[googlemaps]
shortcode. However, it doesn’t in my case.I’m using WordPress 5.2.2–pl_PL. I did experiment a bit with various plugins, however, at the moment the
[googlemaps]
shortcode doesn’t seem to be recognized at all. (When entered directly by a Shortcode block element it just renders the text directly.)For the test, I’m having a page where the only block is the ‘W?asny HTML’ which I expect to be the ‘Custom HTML’ element. There I tried to paste two versions.
First is the one created currently by Google Maps:
<iframe src="https://www.google.com/maps/d/embed?mid=1KZx3en1mXG8LBORBkSHhHctl-8VFTQtK" width="100%" height="550"></iframe>
Second is the same address but adapted to the form shown in the article:
<iframe src="https://www.google.com/maps/d/embed?mid=1KZx3en1mXG8LBORBkSHhHctl-8VFTQtK" width="100%" height="550" frameborder="0" sytle="border:0" allowfullscreen></iframe>
Both forms use:
width="100%" height="550"
instead of the default:
width="640" height="480"
Now, the embedded map works fine on the page. Or at least it looks so. However, lack of conversion bothers me so I’m trying to determine why it happens.
The page I need help with: [log in to see the link]
- The topic ‘Google Maps doesn’t get converted to [googlemaps] shortcode’ is closed to new replies.