Example:
St Stephens Basilica
Budapest, Szent István tér 1, 1051 · Google Maps
How to use Map (Static) block
heading
Yes, you need to paste the shortcode. After adding the code to Code Snippets, you should:
In the content area of that Element, paste this:
Go to your WordPress admin dashboard
Navigate to Appearance > Elements
Create a new Element (or edit an existing one if you already have one for the sidebar)
That’s the shortcode that will display your widget. You can also add the styling I provided if you want the sticky behavior, or you can just use the shortcode by itself if you have other styling in place.
The shortcode alone will display either:
- The custom widget content from your ACF field (if set for that page)
- The default widget HTML (if no custom content is set)