Categories

Featured templates

WordPress. How to set a default editing mode

Celine Jade August 25, 2014
Rating: 5.0/5. From 2 votes.
Please wait...

This tutorial shows how to set a default editing mode in WordPress.

WordPress. How to set default editing mode

As you know, posts and pages in WordPress can be modified in a text mode or in a visual mode. Sometimes it can be useful to set one default editing mode.

    In order to set the default editing mode, there are two ways:

  1. The first way is to open WordPress admin panel and go to Users menu. Click on your user account and select Disable the visual editor when writing option. This way you can set the text edit mode as default for your profile:

    set default editing mode-1

  2. In order to set text/visual default edit mode for all users, please open wp-content/themes/themeXXXXX/includes/theme-function.php file. Please add one of the codes displayed below before the closing ?> tag at the bottom of the file:

    set default editing mode-2

    1. To set the visual mode as default, please add:

      add_filter( 'wp_default_editor', create_function('', 'return "tinymce";'));

      set default editing mode-3

    2. To set the text mode as default please add:

      add_filter('wp_default_editor', create_function('', 'return "html";'));

      set default editing mode-4

Feel free to check the detailed video tutorial below:

WordPress. How to set default editing mode

Best Premium Wordpress Templates
This entry was posted in WordPress Tutorials and tagged default, edit, editor, mode, set, WordPress. Bookmark the permalink.

Submit a ticket

If you are still unable to find a sufficient tutorial regarding your issue please use the following link to submit a request to our technical support team. We'll provide you with our help and assistance within next 24 hours: Submit a ticket