1.注册侧边栏 在functions.php文件中,注册一个侧边栏供调用 register_sidebar(array( 'name' => '首页侧边栏', 'id' => 'exsidebar_index', 'description' =>