Remove Editor on WP Page Template

If you would like to remove the default page editor on a specific page template, you can use the following code snippet in your wordpress theme’s functions.php file. Modify your page template by changing the $template_file name ie contact.php.