video embed

This commit is contained in:
Tessier
2020-09-22 19:59:57 +02:00
parent e119663877
commit deb272daea
3 changed files with 6 additions and 7 deletions
+4 -1
View File
@@ -23,7 +23,7 @@ $tpsF = array(
);
$today = date('Y-m-d H:i:s');
$args = array (
'post_type' => 'post',
'orderby' => 'informations_debut_event',
@@ -38,6 +38,9 @@ $args = array (
'numberposts' => 3
);
$context['video_url'] = get_field('video_la_mine', FALSE, FALSE);
$context['projet'] = Timber::get_posts( $projet );
$context['posts'] = Timber::get_posts( $args );
$context['tpsF'] = Timber::get_posts( $tpsF );