Deactivate Visual Editor

March 10, 2009

Deactivate Visual Editor Plugin

A simple plugin-in that deactivates the visual editor for a specific page or post by a custom field set by the author.

The visual editor is nice when pages and posts are simple, but when you try to add special text such as php code to a page then the visual editor oftentimes has to be deactivated to edit the page. This plug-in allows you to set which posts should not use the visual editor by setting a custom field ‘deactivate_visual_editor’ to true. This allows the visual editor to be deactivated for the given post/page, but remain active for all others.

Installation

  1. Upload deactivate_visual_editor.php to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

FAQ

How do I tell the plug-in to deactivate the visual editor?

On the edit page or post form create a custom field ‘deactivate_visual_editor’ and type ‘true’ as the value.

Details

  • Version: 0.1
  • Active installations: 200
  • WordPress Version: 2.0.2
  • Tested up to: 2.7.1

Ratings


5 Stars
4 Stars
3 Stars
2 Stars
1 Stars