Skip to content

Commit

Permalink
Softcatala#10 remove url_video line (now we use the editor)
Browse files Browse the repository at this point in the history
  • Loading branch information
paugnu committed Jan 28, 2016
1 parent 24bb7c0 commit 61da128
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion single-programa.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 );
Expand Down

0 comments on commit 61da128

Please sign in to comment.