Reply To: Exclude template file

#12441

Ernest 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.

Best,
Ernest Marcinko

If you like my products, don't forget to rate them on codecanyon :)