Long story short, i have been all over google and seen a ton of different ways to use % but none of what I’ve found has worked. I just wish to make the width 95% but is just won’t play ball.
This is from a plugin to Wordpress named Mingle if that’s any help.
[php] function autoembed_media_callback($match)
{
global $wp_embed;
$return = $wp_embed->shortcode( array( ‘width’ => 460 ), $match[1] ); //How can i use a percentage value here?
return “\n$return\n”;
}
[/php]