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; });