Display section header above video
This commit is contained in:
@@ -15,7 +15,8 @@ if ( ! isset( $id ) )
|
||||
$video_url = get_post_meta( $id, 'sp_video', true );
|
||||
if ( $video_url ):
|
||||
?>
|
||||
<div class="sp-event-video">
|
||||
<div class="sp-template sp-template-event-video sp-event-video">
|
||||
<h4 class="sp-table-caption"><?php _e( 'Video', 'sportspress' ); ?></h4>
|
||||
<?php
|
||||
global $wp_embed;
|
||||
echo $wp_embed->autoembed( $video_url );
|
||||
|
||||
Reference in New Issue
Block a user