post_type . '.twig', 'templates/single.twig' ]; if ( post_password_required( $post->ID ) ) { $templates = 'templates/single-password.twig'; } Timber::render( $templates, $context );