From ac0b82cb6e38dbb6f990de81518353a093f57457 Mon Sep 17 00:00:00 2001 From: Erik van der Bas Date: Tue, 21 May 2024 16:59:22 +0200 Subject: [PATCH] remove templates that should never be used Co-authored-by: Lukas Gaechter --- single.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/single.php b/single.php index b07df8fe9..df601cc6e 100644 --- a/single.php +++ b/single.php @@ -11,7 +11,7 @@ $context = Timber::context(); $post = $context['post']; -$templates = array('templates/single-' . $post->ID . '.twig', 'templates/single-' . $post->post_type . '.twig', 'templates/single-' . $post->slug . '.twig', 'templates/single.twig'); +$templates = array('templates/single-' . $post->post_type . '.twig', 'templates/single.twig'); if (post_password_required($post->ID)) { $templates = 'templates/single-password.twig';