Skip to content
Grav 2.0 is officially stable. Read the announcement →
Archive

How to include iframe?

Started by Muut Archive 11 years ago · 2 replies · 2652 views
11 years ago

For my webmlsite (a blog with antimatter theme), i would like to add an iframe. I tried to use plugins like Embed or Media Embed, without any success.

The iframe presents like :

TXT


Is there any simple way to include with Grav ??

thanks!
11 years ago

There's no need to use a plugin. Just paste that code in a page .md file. Markdown allows plain HTML, so you can type any HTML code in markdown pages.

Alternatively, you can add it to a twig file provided by your template, so it will be included in all pages, just some pages, or anything that suits your requirements.

11 years ago

Thanks ! :)) In fact, what I tried to do was completely stupid. Indeed, my grav-blog is in https and the ifram contents http (non secure) address. So it did'nt match at all :)))

Beyond this, yes, we just have to enter html code in grav-markdown pages, and it works :)

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 1351 9 years ago
Archive · by Muut Archive, 9 years ago
2 935 9 years ago
Archive · by Muut Archive, 9 years ago
2 4062 9 years ago
Archive · by Muut Archive, 9 years ago
1 2948 9 years ago
Archive · by Muut Archive, 9 years ago
3 1119 9 years ago