This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Reply To: Exclude template file

#12441
Ernest MarcinkoErnest Marcinko
Keymaster

Dear Dutch,

Good question, I honestly don’t know if that is possible.
You could possibly try this custom code, placing it to the functions.php file in your active theme directory (copy from line 3):

This will try to look for the ‘deleted.php’ page template in the meta fields, and exclude them if found.