In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces how to disable WordPress5.8 gadget block editing mode, has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, the following let the editor take you to know about it.
WordPress tutorial: how to disable WordPress5.8 gadget block editing mode?
The official version of WordPress 5.8 is expected to be released on July 20. Except that IE is not supported for Beta 4, the biggest change is that the gadget supports visual block editing mode, as shown below:
It feels the same as seeing the Gutenberg Block Editor for the first time, a little at a loss, collapsing.
If you don't adapt to this gadget editing mode, WP officially offers two solutions:
Solution one, install the Classic Widgets (Classical Gadget) plug-in to see if the name is familiar. Like the Classic Editor (Classical Editor) plug-in, installing this plug-in can restore the previous gadget editing mode.
At present, there are only 5 comments on the plug-in, all saying that this plug-in is good, what does it mean? It only means that it can't adapt to this new editor.
The plug-in only disables the new editor with two lines of code:
Add_filter ('gutenberg_use_widgets_block_editor',' _ _ return_false'); add_filter ('use_widgets_block_editor',' _ _ return_false')
However, the new editor is disabled in the theme, and it is officially recommended to use option 2.
In option 2, you can disable the new gadget block editor by adding the following code to the current theme function template functions.php.
Function example_theme_support () {remove_theme_support ('widgets-block-editor');} add_action (' after_setup_theme', 'example_theme_support')
I basically never use a block editor to write a web article. I don't need such a powerful editing function. Although spent a lot of time learning to make this block, but the current development of the theme does not integrate the block function, because at the beginning of the theme development, there is no this editor, the theme of a large number of short code to achieve the function, into the block can not be perfectly compatible before the typesetting, WP developers bent on going their own way, the block editor will also be a trend, the future development theme will also follow this trend.
As for what other features have been updated in WordPress 5.8, it is the same update that lasts for several versions:
Constantly improve the block editor, at the same time modify the program compatibility, the rest is gone.
Temporarily found that a small detail of the update is still very convenient, before editing the menu, you can only delete menu items one by one, this time add batch selection function, but can only batch delete, not batch move.
The gadget supports blocks, which is really good. You can add any existing blocks to the gadget, including those added by many block plug-ins, and you can achieve a lot of functions, but the style is not perfectly compatible with the theme, and practicality is a problem.
The gadget block editor can preview the gadget style in the background. I don't know how to write this background preview style.
Look at the official update notes, WP official default themes are not compatible with the new gadget editor, it is estimated that most of the themes are not compatible, including mine, there is a problem with the front-end display style.
As for the classic editor, officials have been saying that it will last until 2022, when the two editors can coexist and give users a choice, otherwise they will lose a lot of users.
Thank you for reading this article carefully. I hope the article "how to disable WordPress5.8 gadget block editing mode" shared by the editor will be helpful to you. At the same time, I also hope you will support us and pay attention to the industry information channel. More related knowledge is waiting for you to learn!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.