Quantcast
Channel: Wordpress API - Developer Code Book » wp tutorials
Viewing all articles
Browse latest Browse all 10

How to hide the wordpress visual editor and HTML editor

$
0
0
http://wordpressapi.com/2011/03/19/hide-wordpress-visual-editor-html-editor/

If you want to hide the wordpress editor from admin panel then you can use the following code in functions.php file. This is achived with very simple css trick.

add_action('admin_head', 'hide_post_box');

function hide_post_box() {
?>
 <style>
 #editor-toolbar{ display:none; }
 #editorcontainer{ display:none; }
 #quicktags { display:none; }
 #post-status-info { display:none; }
 </style>
<?php
}

Incoming search terms:

Follow us on Twitter WordPress API


Viewing all articles
Browse latest Browse all 10

Trending Articles