Always Edit In HTML

plugin banner

Always opens up a specific page or post in HTML mode to preserve HTML code.

Author:DeveloperWil (profile at
WordPress version required:5.2
WordPress version tested:6.4.1
Plugin version:2.4.5
Added to WordPress repository:04-04-2011
Last updated:27-11-2023
Rating, %:88
Rated by:7
Plugin URI:https:/
Total downloads:83 928
Active installs:1 000+
plugin download
Click to start download

If 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”.

  1. 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.
  2. 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.

Plugin Page

Always Edit In HTML