WordPress keeps altering my embed code
The issue is WordPress’ core configuration of TinyMCE, which strips IFRAME tags. You can modify this configuration, to allow IFRAME tags, by hooking into tiny_mce_before_init. For example, the following code will prevent TinyMCE from stripping IFRAME, PRE, and DIV tags: function mytheme_tinymce_config( $init ) { // Change code cleanup/content filtering config // Don’t remove line … Read more