Deactivate Visual Editor

Deactivate Visual Editor

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.

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.

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

Reviews

0 out of 5 stars

  • Version: 0.1
  • Last updated: 15 years ago
  • Active installations: 200
  • WordPress version: 2.0.2
  • Tested up to: 2.7.1
  • PHP version: false