Wow I finally figured out how to get an iframe into a wordpress post:

First edit your functions.php file for your theme and add this code snippet:

function field_func($atts) {
   global $post;
   $name = $atts['name'];
   if (empty($name)) return;
   return get_post_meta($post->ID, $name, true);
}
add_shortcode('field', 'field_func');

Then when writing your post put a custom field in with the title of iframe and for the value put the whole iframe code! This will save me tons of headaches

« »