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.

Published
Categorised as WordPress

By Dave

Dave is the proud father of Ellie and Jack. There's nothing that makes him happier than spending time with his incredible wife and their amazing children. He's a civil/mechanical engineer and he also builds and maintains WordPress websites.

Leave a Reply