add tax
This commit is contained in:
@@ -7,8 +7,10 @@ $timber_post = new Timber\Post();
|
||||
|
||||
$args = array(
|
||||
'post_type' => 'post',
|
||||
'post_status'=>'publish',
|
||||
);
|
||||
|
||||
$context['posts'] = Timber::get_posts( $args );
|
||||
$context['terms'] = Timber::get_terms(array( 'taxonomy'=> 'category', 'hide_empty' => true, 'parent' => 0));
|
||||
|
||||
Timber::render('agenda.twig', $context );
|
||||
|
||||
Reference in New Issue
Block a user