Posted By

f6design on 12/01/11


Tagged

wordpress editor wysiwyg


Versions (?)

Who likes this?

5 people have marked this snippet as a favorite

Kurt
chrisdemetriad
rickygri
rickahontas
fhenderson


Wordpress: Disable the content editor for a specific page template


 / Published in: PHP
 

When adding a meta box to a 'page' in Wordpress (as opposed to a post, or custom post type), you might want to disable the default editor. Use this snippet in your theme's functions.php file to disable the editor for a specific page template.

Report this snippet  

Comments

RSS Icon Subscribe to comments
Posted By: rickahontas on February 18, 2013

Thanks, works great.

You need to login to post a comment.