Always Edit In HTML
Add to ListIf you find yourself entering HTML code into the WordPress page/post editor only to have it reformatted or worse removed when in Visual mode then here is the solution for you.
Always Edit In HTML is a WordPress plugin that removes the “Visual” tab in the page/post editor and opens up your page or post in HTML mode, preserving your HTML code.
Why would you need this plugin?
The WordPress page/post editor has two tabs at the top right – “Visual” and “Text”.
- The Text tab allows you to enter HTML code onto the page or post and when saving or publishing the post it preserves your code just the way you entered it.
- The Visual tab has all the fancy writing style tools but when you save or publish your page or post, WordPress parses and formats the content which may results in your HTML code not working or even being removed.
WordPress does not remember the tab option for each page or post. It will open up a page or post using whichever Visual or Text tab you last used.
This means that if you were editing a post using the Visual tab, saved it and then edited the page or post you had entered the HTML code into, that page would open in Visual mode and you could loose your HTML code.
If only there was a plugin that gave you the option to always open up a page or post in HTML
Ta da! Here’s one.
Note: For WordPress 5.x users, this plugin will still work when the Classic Editor plugin is installed and enabled. It does not work with the Gutenberg block editor.