Add div wrappers to templates

This commit is contained in:
Brian Miyaji
2014-08-23 21:53:02 +10:00
parent 091c2a33ff
commit 8a4c8d8039
16 changed files with 491 additions and 451 deletions

View File

@@ -14,6 +14,12 @@ if ( ! isset( $id ) )
$video_url = get_post_meta( $id, 'sp_video', true );
if ( $video_url ):
global $wp_embed;
echo $wp_embed->autoembed( $video_url );
?>
<div class="sp-event-video">
<?php
global $wp_embed;
echo $wp_embed->autoembed( $video_url );
?>
</div>
<?php
endif;