Skip to content

Commit

Permalink
is_page_template() requires the name of the subfolder
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrick Vézina committed Mar 15, 2016
1 parent 82cd4c3 commit 55b9fea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/filters.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
});

Expand Down

0 comments on commit 55b9fea

Please sign in to comment.