WP Go Maps (v9)
...
Map Features
Markers

Embedding iframes in your markers

6min

Overview

WP Go Maps Basic version 8.1.13 and above strip away any tags that are considered to be unsafe.

β€˜wp_kses_post’ considers iframes to be β€˜unsafe’ and thus are stripped away. This article will show you how to embed an iframe in WP Go Maps (specifically focuses on the marker descriptions) using the iframe plugin.

Prerequisites

The Following Plugin/s need to be installed and active in order to embed iframes into your marker descriptions

Install and activate the β€˜iframe’ plugin

Navigate to

WordPress Dashboard -> Plugins -> Add New

In theΒ SearchΒ box at the top-right of the screen, type the word β€œiframe” and press {Enter}.

Click theΒ Install NowΒ button shown in the screenshot below. The plugin will install without any intervention.

Install iframe
Install iframe
ο»Ώ

Once installed, click theΒ ActivateΒ button shown in the screenshot below. The plugin will then activate.

Activating the iframe plugin
Activating the iframe plugin
ο»Ώ

Add the Shortcode to the marker description

Navigate to your Map Editor to add or edit a marker

WP Go MAPS -> Maps (edit your chosen map) -> Markers

Add your iframe to your marker description in the respective shortcode format: [iframe src=”url” title=”descriptionβ€œ]

E.g.

Text
ο»Ώ

When using the iframe plugin to embed Youtube videos, kindly ensure you are using Youtube's embed URL in your shortcode and also ensure the the https protocol is specified in the URL (not http). The embed URL can be retrieved by viewing the video on Youtube.com, selecting "Share" and copying the url from the embed option

Selecting the Youtube embed URL
Selecting the Youtube embed URL
ο»Ώ

ο»Ώ

Add iframe to marker description
Add iframe to marker description
ο»Ώ

Save your marker and the iframe should then be displayed in your marker.

iframe example
iframe example
ο»Ώ

ο»Ώ