File: /var/www/linde-ai/wp-content/themes/linde/taxonomy-linde_module.php
<?php
$context = Timber::context();
$context['module'] = new ModuleTerm();
$currentTerm = $context['module']->slug;
$args = array(
    'post_type' => 'linde_course',
    'meta_key' => 'session_number',
    'posts_per_page' => 200,
    'orderby' =>  'meta_value_num',
    'order' => 'ASC',
    'tax_query' => array(
        array(
        'taxonomy' => 'linde_module',
        'field'    => 'slug',
        'terms'    => $currentTerm
        ),
    ),
);
$context['courses'] = new Timber\PostQuery($args, "PostCourse");
$context['modules'] = Timber::get_terms(array(
    'taxonomy' => 'linde_module',
), array(), "ModuleTerm");
$context_sections = array();
Timber::render( "taxonomy-linde_module.twig", $context );
?>