<code id='F4898EA440'></code><style id='F4898EA440'></style>
    • <acronym id='F4898EA440'></acronym>
      <center id='F4898EA440'><center id='F4898EA440'><tfoot id='F4898EA440'></tfoot></center><abbr id='F4898EA440'><dir id='F4898EA440'><tfoot id='F4898EA440'></tfoot><noframes id='F4898EA440'>

    • <optgroup id='F4898EA440'><strike id='F4898EA440'><sup id='F4898EA440'></sup></strike><code id='F4898EA440'></code></optgroup>
        1. <b id='F4898EA440'><label id='F4898EA440'><select id='F4898EA440'><dt id='F4898EA440'><span id='F4898EA440'></span></dt></select></label></b><u id='F4898EA440'></u>
          <i id='F4898EA440'><strike id='F4898EA440'><tt id='F4898EA440'><pre id='F4898EA440'></pre></tt></strike></i>

          wordpress闲和庄怎么玩移除后台外观下的编辑和仪表盘的模块

          2025-06-20 15:09:54 723

          wordpress后台外观下的编辑不显示问题,在你的wordpress主题下functions.php文件添加。可以通过模板函数functions.php等php文件添加以下代码移除wordpress后台外观下的主题编辑,Welcome移除代码如下。有时候个人wordpress主题禁止用户在后台乱修改,代码如下(修改为你的域名)

          //自定义后台左下角版权function remove_footer_admin () {echo &闲和庄怎么玩#039;感谢使用 <a href="http://www.bokequ.com/category/theme" target="_blank">wordpress主题</a></p>';}add_filter('admin_footer_text', 'remove_footer_admin');

          WordPress活动及新闻、快速草稿、防止用户编辑导致错误function remove_submenu() {remove_submenu_page( 'themes.php', 'theme-editor.php' );}if ( is_admin() ) {add_action('admin_init','remove_submenu');}

          wordpress移除后台外观下的编辑和仪表盘的模块-图片2

          wordpress后台主页仪表盘的模块:概览、防止用户编辑导致错误。

          wordpress移除后台外观下的编辑和仪表盘的模块-图片1

          //移除后台外观-编辑,活动、移除后点击“仪表盘”不显示相关模块(变为空白)

          //删除wordpress后台仪表盘模块function example_remove_dashboard_widgets() {// Globalize the metaboxes array, this holds all the widgets for wp-adminglobal $wp_meta_boxes;// 以下这一行代码将删除 "快速发布" 模块unset($wp_meta_boxes['dashboard']['side']['core']['dashboard_quick_press']);// 以下这一行代码将删除 "引入链接" 模块unset($wp_meta_boxes['dashboard']['normal']['core']['dashboard_incoming_links']);// 以下这一行代码将删除 "插件" 模块unset($wp_meta_boxes['dashboard']['normal']['core']['dashboard_plugins']);// 以下这一行代码将删除 "近期评论" 模块unset($wp_meta_boxes['dashboard']['normal']['core']['dashboard_recent_comments']);// 以下这一行代码将删除 "近期草稿" 模块unset($wp_meta_boxes['dashboard']['side']['core']['dashboard_recent_drafts']);// 以下这一行代码将删除 "WordPress 开发日志" 模块unset($wp_meta_boxes['dashboard']['side']['core']['dashboard_primary']);// 以下这一行代码将删除 "其它 WordPress 新闻" 模块unset($wp_meta_boxes['dashboard']['side']['core']['dashboard_secondary']);// 以下这一行代码将删除 "概况" 模块unset($wp_meta_boxes['dashboard']['normal']['core']['dashboard_right_now']);}add_action('wp_dashboard_setup', 'example_remove_dashboard_widgets' );remove_action('welcome_panel', 'wp_welcome_panel');function remove_dashboard_meta() {remove_meta_box( 'dashboard_activity', 'dashboard', 'normal');//3.8版开始}add_action( 'admin_init', 'remove_dashboard_meta' );

          如何修改(隐藏)wordpress后台左下角的“感谢使用wordpress进行创作”。

          本文地址:http://b9934.xny028cc.com/yellow/2025-06-19-22-37-38-5.html
          版权声明

          本文仅代表作者观点,不代表本站立场。
          本文系作者授权发表,未经许可,不得转载。

          热门标签

          全站热门

          帝国cms7.5登录密码忘记多次登录失败被锁解决办法

          新浪微博主页侧边栏跟随页面滚动代码

          米家智能鱼缸,超值好价!远程投喂+半年免换水,养鱼新体验

          dedecms织梦网站模板源码图文安装教程

          小米米家智能香氛机套装植萃系列:低成本高品质,打造清新家居环境

          WordPress音乐主题Always1.8使用教程

          米家智能鱼缸,超值好价!远程投喂+半年免换水,养鱼新体验

          23亿!武汉青山区(化工区)北湖绿城EOD项目实施主体征求意见

          友情链接