dtrphb5597 2015-10-08 02:45
浏览 19
已采纳

如何在wp-admin文件夹中找到wordpress管理屏幕选项

I am not using any plugin i want to make bootstrap admin dashboard on word press admin.

  1. how i can change Word press welcome message ?
  2. how i can change word press screen option ?
  • 写回答

1条回答 默认 最新

  • doupo2241 2015-10-08 03:41
    关注

    You can turn the welcome panel off, incidentally resulting in the removal of the welcome message, by doing the following:

    Locate the file: /wp-admin/index.php

    Just before wp_dashboard() is called, add the following line:

    <?php remove_action( 'welcome_panel', 'wp_welcome_panel' ); ?>

    This will also remove the corresponding screen option.

    As far as changing the text from "Welcome Text" to "Some Other Welcome Message", this is not set in any php file. You will need to have access to the MySql database. You will likely find the welcome text in the wp_options table. A simple SQL query will help you to find the exact location.

    References:

    Welcome Panel:
    https://codex.wordpress.org/Plugin_API/Action_Reference/welcome_panel

    Database Diagram:
    https://codex.wordpress.org/images/2/2a/WP3.9.4-ERD.png

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 孟德尔随机化结果不一致
  • ¥15 深度学习残差模块模型
  • ¥20 两个不同Subnet的点对点连接
  • ¥50 怎么判断同步时序逻辑电路和异步时序逻辑电路
  • ¥15 差动电流二次谐波的含量Matlab计算
  • ¥15 Can/caned 总线错误问题,错误显示控制器要发1,结果总线检测到0
  • ¥15 C#如何调用串口数据
  • ¥15 MATLAB与单片机串口通信
  • ¥15 L76k模块的GPS的使用
  • ¥15 请帮我看一看数电项目如何设计