I would like to disable the ‘Visual’ tab so that the ‘Text’ tab is always used.

Is there a clean way to do this besides just doing something like .wp-switch-editor { display:none!important; }

enter image description here

4 Answers
4

I can think of three way you can do this

  1. Log in to the Admin Control Panel and go to:

    Users -> All Users

    Find your username and click on Edit.

    Check “Disable the visual editor when writing”

  2. Add this code in the themes function.php file

    add_filter( 'user_can_richedit' , '__return_false', 50 );
    
  3. Install a plugin like Disable Visual Editor WYSIWYG

Tags:

Leave a Reply

Your email address will not be published. Required fields are marked *