Title: Can&#039;t Embed iFrame Code
Last modified: August 21, 2016

---

# Can't Embed iFrame Code

 *  [Trevor01](https://wordpress.org/support/users/trevor01/)
 * (@trevor01)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/cant-embed-iframe-code/)
 * I created a new role called _user admin_. I added the capabilities I wanted that
   role to have and over all everything is working ok. With this role though, the
   _user admin_ can’t embed iFrame code in to a Post or Page. I have tested the 
   role with different iFrame code (YouTube, custom form, Vimeo) and WordPress is
   actually stripping out some of the code. I thought maybe checking the _Unfiltered
   html_ box would fix this problem but it doesn’t. Am I missing a box to check 
   to allow this role to embed iFrame code?
 * Just to mention, the regular Admin role can embed iFrame code without a problem,
   it is only this new user role that I created that is having the problem. This
   is also a single site WordPress install, not a Multisite.
 * Thanks for your help.
 * [http://wordpress.org/plugins/user-role-editor/](http://wordpress.org/plugins/user-role-editor/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Vladimir Garagulya](https://wordpress.org/support/users/shinephp/)
 * (@shinephp)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/cant-embed-iframe-code/#post-4222695)
 * Hi,
 * It is enough to turn on ‘unfiltered_html’ usually for the single site WordPress
   in order WP stops sanitize html code. Show the screenshot of your new role and
   example of “iframe” code you try to insert. I will check what is going behind
   the scene.
 * Regards,
    Vladimir.

Viewing 1 replies (of 1 total)

The topic ‘Can't Embed iFrame Code’ is closed to new replies.

 * ![](https://ps.w.org/user-role-editor/assets/icon-256x256.jpg?rev=1020390)
 * [User Role Editor](https://wordpress.org/plugins/user-role-editor/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/user-role-editor/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/user-role-editor/)
 * [Active Topics](https://wordpress.org/support/plugin/user-role-editor/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/user-role-editor/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/user-role-editor/reviews/)

## Tags

 * [embed](https://wordpress.org/support/topic-tag/embed/)
 * [iframe](https://wordpress.org/support/topic-tag/iframe/)
 * [unfiltered html](https://wordpress.org/support/topic-tag/unfiltered-html/)

 * 1 reply
 * 2 participants
 * Last reply from: [Vladimir Garagulya](https://wordpress.org/support/users/shinephp/)
 * Last activity: [12 years, 6 months ago](https://wordpress.org/support/topic/cant-embed-iframe-code/#post-4222695)
 * Status: not resolved