Skip to content

Commit

Permalink
Merge pull request #1626 from ptrckvzn/fix-sidebar-templates
Browse files Browse the repository at this point in the history
is_page_template() requires the name of the subfolder
  • Loading branch information
retlehs committed Apr 3, 2016
2 parents 3216174 + 55b9fea commit 4d5bc34
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 4d5bc34

Please sign in to comment.