Top

Daily Tip: How to Set the Default Editor to Visual or HTML in WordPress

October 16, 2010

Did you know that you can set the default editor in the WordPress post editor screen? I found this handy little filter over at wp-snippets.com. Select which on you want to be the default and simply add this to your theme’s functions.php file:

For Visual set as default:

add_filter( 'wp_default_editor', create_function('', 'return "tinymce";') );

For HTML set as default:

add_filter( 'wp_default_editor', create_function('', 'return "html";') );

Tweet This Post

Comments

Got something to say?

Bottom
Article Archive  |  This site is a historical archive of pressography.com, a WordPress plugin and theme blog that published between 2006 and 2012. It is preserved for reference and is not operated by, affiliated with, or endorsed by its original authors. Nothing here is for sale and no form on this site is active. If you are the original owner and would like this domain returned, please get in touch.