How to disable block editor?
-
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; }
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
The topic ‘How to disable block editor?’ is closed to new replies.