Set Default Editor

Do you prefer to use the HTML editor rather than the Visual Editor when writing posts? Make either of these options your default by adding either of the following lines to yourfunctions.php file:

# Visual Editor as default
add_filter( 'wp_default_editor', create_function('', 'return "tinymce";') );

 

# HTML Editor as default
add_filter( 'wp_default_editor', create_function('', 'return "html";') );

ABOUT AUTHOR

Nuno

I am a Freelance Web Developer and WordPress Expert based in London with a wealth of website development and support experience. I am great at problem solving and developing quick solutions.

  • LET'S TALK!

    Fill in the form below to make an enquiry or find my contact details on my contact page.

  • This form collects your name and email address so that I can respond to the enquiry(ies) that you submit via this website. Please check my privacy policy for the full story on how I use, protect and manage your submitted data.