/wp-admin/plugins.php'; return; } $templates = array( 'index.twig' ); if ( is_home() ) { array_unshift( $templates, 'home.twig' ); } $post = Timber::get_post(); $context = Timber::get_context(); $context['post'] = $post; Timber::render(array($template), $context);