If this tutorial is not what you were looking for, you still have any questions, suggestions or concerns - feel free to let us know. Please help us to serve you better!

Your Name

Your Email

Your Message (required)

captcha

Featured templates

WordPress. How to set a default editing mode

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

WordPress. How to set a default editing mode, 5.0 out of 5 based on 2 ratings