diff --git a/functions.php b/functions.php index d9f242a..2c3a70e 100755 --- a/functions.php +++ b/functions.php @@ -59,4 +59,12 @@ class StarterSite extends TimberSite { new StarterSite(); +function wrap_embed_with_div($html, $url, $attr) { + + return '
' . $html . '
'; + +} + +add_filter('embed_oembed_html', 'wrap_embed_with_div', 10, 3); +