• Get In Touch
December 4, 2012

How To Set The Default WordPress Editor To HTML Mode

Using Wordpress? Get our lightening fast Wordpress Optimised Hosting.
Get Wordpress Hosting
            Using the Visual Editor for creating or editing posts in <span id="urn:local-text-annotation-7qhh8d7mna8bciyuem7x9hubdl56h8uz" class="textannotation wl-no-link disambiguated wl-thing" itemid="http://data.wordlift.io/wl0226/entity/wordpress_2">WordPress</span> is quick and easy, but if you prefer to write your own <span id="urn:local-text-annotation-2uks5eirqw6v7zbohn5c2b7rdq3ady14" class="textannotation wl-no-link disambiguated wl-thing" itemid="http://data.wordlift.io/wl0226/entity/html">HTML</span> in  your posts, switching to the HTML editor every time you create a new post or edit a post can be annoying, but with our simple guide below you can change the default editor to be the HTML editor:

Log in to your WordPress Admin Dashboard:

 

In your Dashboard, hover over ‘Appearance’ and select ‘Editor’:

At the right, select ‘Theme Functions’ (functions.php) Once the editor loads, insert the following code:
add_filter( 'wp_default_editor', create_function('', 'return "html";') );

Click on ‘Update File’.

The HTML Editor will now be the default instead of the Visual Editor.

Using Wordpress? Get our lightening fast Wordpress Optimised Hosting.
Get Wordpress Hosting

Share this Article!

Related Posts

5 Website Hosting Solution Trends for 2022 and Beyond

5 Website Hosting Solution Trends for 2022 and Beyond

Looking for the right web hosting solution for your website can be an intimidating task. Options nowadays are more diversified than ever, and each year brings new developments in the web hosting market. If you have no clue of what to look out for, you can find yourself overwhelmed with the choices. Hence, you must […]

64 Content Marketing Statistics Demonstrating the Power of Content

64 Content Marketing Statistics Demonstrating the Power of Content

Content marketing continues to be one of the most valuable tools for today’s online businesses. With content, you can improve your chances of reaching your target audience, boost your search engine standing, and even unlock new opportunities for sales. The more content you produce, the more you can strengthen your domain authority, demonstrate your thought […]

53 User Experience Stats for 2022

53 User Experience Stats for 2022

User Experience (UX) is one of the most crucial factors to consider in web design. As the number of websites and applications in the world today continues to accelerate, businesses are under more pressure than ever to impress customers straight away. If a user visits your website and finds slow-loading pages, clunky navigation, or errors, […]

How to increase the memory limit in WordPress

How to increase the memory limit in WordPress

Do you need to increase the memory limit in WordPress? Getting an error about memory Exhausted? The memory limit is one of the most common WordPress errors as the default limit of memory in WordPress is only set to 64mb! But there’s good news! The Memory Exhausted error is one of the easiest to fix […]

All in One WordPress Migration Vulnerability

All in One WordPress Migration Vulnerability

A vulnerability has been discovered in the “All In One WordPress Migration” WordPress plugin. All versions earlier than, and including 6.97 contain a vulnerability which allows Cross-Site Scripting (XSS). With over 2 million active installations, this vulnerability has the potential to be high impact, however, this is lessened by the nature of the vulnerability, which […]