Skip to main content

Attributes

string
required
Your widget ID. If empty, the shortcode renders nothing.
string
default:"get_the_title()"
The headline to match. Defaults to the current post’s title.
string
default:""
Comma-separated keywords. See Market matching.
string
default:"false"
Set to true to request the debug panel. See debug.
string
Signed snippets only. Copy from the dashboard.
string
Signed snippets only. Copy from the dashboard.
string
Signed snippets only. Copy from the dashboard. d, kv and sig are only added to the URL when all three are present.
string
default:"https://iframe.polyembed.io"
The widget host. Leave the default unless PolyEmbed support asks you to change it.

Output

The shortcode renders an iframe with a unique ID, the same attributes as the HTML embed, and an inline script that handles polyembed:resize and polyembed:hide messages from the widget’s origin. All attribute values are escaped.