wordpress后台外观没有菜单和小工具的解决方法

进入wordpress后台,打开functions.php这个模板

 在里面加入这段代码:

if ( function_exists('register_sidebar') )

    register_sidebar(array(

        'before_widget' => '<div class="sidebox">    ',

        'after_widget' => '</div>',

        'before_title' => '<h2>',

        'after_title' => '</h2>',

    ));

 参考:https://jingyan.baidu.com/article/8ebacdf0c02b5c49f65cd53a.html

猜你喜欢

转载自blog.csdn.net/james_laughing/article/details/92154194