iFrame

The iFrame shortcode for WordPress can be used to embed an external link (website or web page) into the content of your posts or pages. Check below for example implementations and shortcode documentation:

iFrame Examples

iFrame Shortcodes

iFrame Shortcode
[x3m-iframe url="https://m3dia.widgetlab.net" width="100%" height="400px"]
The shortcode can be used to embed an iFrame with the link from an external (or internet) website or webpage. The shortcode can be customized in terms of width and height of the iframe. Above example embeds the home page of our website.

iFrame Documentation

Here are the shortcode option settings available for iFrame:

Shortcode Settings Details
url=”link here” This is used to set link to be embedded in the iFrame.
width=”100%” This is used to define the maximum width of the iframe container in percentage (ex “100%”) or pixels (ex “400px”).
height=”400px” This is used to define the maximum height of the iframe container in percentage (ex “100%”) or pixels (ex “400px”).