Revision: 62940
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at March 26, 2013 02:40 by bitsculptor
Initial Code
add_shortcode('iframe', 'iframe'); function iframe($atts) { extract(shortcode_atts(array( 'src' => "", 'width' => "800", 'height' => "600" ), $atts)); $iframe = '<iframe src="'.$src.'" width="'.$width.'" height="'.$height.'" scrolling="no" allowtransparency="yes" frameborder="0" ></iframe>'; return $iframe; }
Initial URL
Initial Description
this is a simple script to take iframe parameters and build an iframe via a shortcode
Initial Title
Simple iframe shortcode for wordpress
Initial Tags
wordpress
Initial Language
PHP