Files
lamine_wp/web/app/themes/la_mine/single.php
T
2020-05-28 09:27:03 +02:00

19 lines
395 B
PHP
Executable File

<?php
/**
* The Template for displaying all single posts
*
* Methods for TimberHelper can be found in the /lib sub-directory
*
* @package WordPress
* @subpackage Timber
* @since Timber 0.1
*/
$context = Timber::context();
$timber_post = Timber::query_post();
$context['post'] = $timber_post;
$context['posts'] = get_posts();
Timber::render('single.twig', $context );