Default to text (HTML) editor in WordPress

The visual editor in WordPress is generally very good and helpful, but if you have code or special formatting on some of your posts, the visual editor can sometimes screw up the formatting.

This little snippet solves that by defaulting to the text (HTML) editor every time you open a post, while retaining the ability to use the visual editor if needed.

Author: Dave

Dave is many things. Most importantly, he's a husband and a father to Ellie and Jack. Almost as important, he's British (though he lives in Florida). Following on from there, he's a WordPress developer and civil engineer, has an unhealthy love of hummus, is vegan, likes cider, wants to travel to Iceland and Japan, loves solving puzzles and is a realist.

Leave a Reply