From 55b9feab258fc544082e71647ff844ac827c6c8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrick=20V=C3=A9zina?= Date: Tue, 15 Mar 2016 08:16:59 -0400 Subject: [PATCH] is_page_template() requires the name of the subfolder --- src/filters.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/filters.php b/src/filters.php index 4e1fe334e1..d8c7795514 100644 --- a/src/filters.php +++ b/src/filters.php @@ -12,7 +12,7 @@ return $display ? !in_array(true, [ is_404(), is_front_page(), - is_page_template('template-custom.php'), + is_page_template('templates/template-custom.php'), ]) : $display; });