Let' say you want to embed an iframe in your website. An iframe is basically a snippet of code from another website and usually looks like this:
<iframe width="560" height="315" src="https://www.youtube.com/embed/MtJPRJVF84M" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>
There are three ways to do this:
- Create an Iframe page from or Section.
To do this, go to Content, then Pages or Sections and click on Add Page or Add Section.
Click on iframe (at the bottom)
Give your page a name and paste the code. Click Save.
2. Add the code to a custom HTML widget
Go to content > Widgets.
Click on Choose widget and click on custom HTML Widget. Give your widget a name and paste the code.
3. Embed the iframe in a page.
You can do this in any page where you can edit the text.
Put your mouse in the text field and click on Source in the edit bar.
Paste the code in the pop-up. Note, that if you already have text in the pop-up, choose the right place. Click OK. Your editor will look like this: