• achaninusa

    (@achaninusa)


    I do not want this block editor, it is annoying. I want to go back to typing html tags with php codes.

    Okay I googled this, but I am wary b/c the codes I googled to create a new sidebar did indeed create one in my Home page, but it won’t display the widgets I added to the custom sidebar using the WP UI in Appearance -> Widgets.

    So here goes…

    Simple PHP code to disable Block Editor
    
    If you prefer to add few lines of code (to the functions.php of the theme, or some other place), here is the example on how to disable Block Editor completely, for all post types:
    
    add_filter('use_block_editor_for_post_type', 'd4p_32752_completly_disable_block_editor');
    function d4p_32752_completly_disable_block_editor($use_block_editor) {
      return false;
    }
    • This topic was modified 5 years ago by achaninusa.
Viewing 6 replies - 1 through 6 (of 6 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Install the plugin “Classic Editor” to disable the block editor.

    Thread Starter achaninusa

    (@achaninusa)

    Thanks.
    I am trying to avoid plugins b/c of bad experience, costing evntly >$80 for Godaddy to fix… 🙁

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    The “classic editor” plugin is free and from the WP core team.

    Thread Starter achaninusa

    (@achaninusa)

    Do you mean the “Classic Editor Addon”?
    It replaced “Classic Editor” b/c it didn’t work as advertized.

    After installing and activating Calssic Editor Addon, I report that my HTML-tags are now highlight red, simple tags like <br>

      <li?\> etc are apparently not allowed.

      I want the old text editor where I can type in the html tags and php codes along with the textual content. I really, really do not want anything to do with the block and dodads and dothingies and new experience etc.

      What is <!– wp:paragraph –> telling me?
      I do not want a wp-paragrpah. I want the old editor.

    • This reply was modified 5 years ago by achaninusa.
    • This reply was modified 5 years ago by achaninusa.
    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Thread Starter achaninusa

    (@achaninusa)

    Thank-you 🙂

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘How to disable block editor?’ is closed to new replies.