找到 WordPress 当前使用主题的functions.php函数文件中加入下方代码:
// 切换经典小工具
add_filter( 'gutenberg_use_widgets_block_editor', '__return_false' );
add_filter( 'use_widgets_block_editor', '__return_false' );
WordPress 5.8 新版主题小工具切回原版方法
找到 WordPress 当前使用主题的functions.php函数文件中加入下方代码:
// 切换经典小工具
add_filter( 'gutenberg_use_widgets_block_editor', '__return_false' );
add_filter( 'use_widgets_block_editor', '__return_false' );
Sign in to your account