2.4k questions

2.4k answers

99.5k users

Categories

0 votes
57 views

How do you allow iframes from a specific site in WordPress (WordPress, iframe, development)?
in WordPress by (46.5k points)

1 Answer

0 votes

The first thing you can do is to embed the iFrame code through the HTML. That's the traditional method, and it goes something like this: Select the URL of the webpage you want to add to the iFrame. Use the custom HTML <iFrame></iFrame> code tag to add the iFrame in WordPress.

also read

Allow iframes from specific sites?
With kses filtering, WordPress only allows a subset of html tags within a post or page, and one of the tags it strips out is the <iframe> tag (for many good reasons). I'd like to allow edi...
by (46.5k points)
...