From 61da1284f97ce668e8bccdfb40c172f2ec3d4a88 Mon Sep 17 00:00:00 2001 From: Pau Iranzo Date: Thu, 28 Jan 2016 17:32:54 +0100 Subject: [PATCH] #10 remove url_video line (now we use the editor) --- single-programa.php | 1 - 1 file changed, 1 deletion(-) diff --git a/single-programa.php b/single-programa.php index d479866f..0008abf1 100644 --- a/single-programa.php +++ b/single-programa.php @@ -25,7 +25,6 @@ $context['links'] = $post->get_field( 'link' ); $context['baixades'] = $post->get_field( 'baixada' ); $context['credits'] = $post->get_field( 'credit' ); -$context['url_video'] = wp_oembed_get( $post->video_url, array('width'=>560, 'height'=>315, 'class'=>'embed-responsive-item', 'allowfullscreen'=>1) ); if ( post_password_required( $post->ID ) ) { Timber::render( 'single-password.twig', $context );