[wordpress插件] Disable Toolbar禁用工具栏

wordpress 插件 文章 2020-04-18 13:40 602 0 全屏看文

AI助手支持GPT4.0

评分
98
描述

This humble plugin adds an option in Settings > General that controls who sees the WP Toolbar when viewing your site.

这个不起眼的插件在“设置”>“常规”中添加了一个选项,用于控制谁在查看您的网站时看到WP工具栏。

You can turn the Toolbar on or off per user role.

您可以按用户角色打开或关闭工具栏。

Note that this controls the public, front-end version of your site.

请注意,这可以控制网站的公共前端版本。

When viewing the dashboard, the toolbar always appears.

查看仪表板时,工具栏始终出现。

How is this different from other plugins that do similar things?

与其他执行类似操作的插件有何不同?

It’s smaller, cleaner, and doesn’t add any unnecesary settings pages.

它更小,更干净,并且不添加任何不必要的设置页面。

It’s also smart enough to hide the Toolbar option on user profiles if that user is already restricted from seeing the toolbar.

如果已经限制该用户查看工具栏,那么它也足够聪明,可以在用户个人资料上隐藏“工具栏”选项。

安装步骤

Automatic Install

自动安装

    1. Log into your WordPress dashboard and go to Plugins → Add New
    2. 登录WordPress仪表板,然后转到“插件”→“添加新内容”

    3. Search for “Disable Toolbar”
    4. 搜索“禁用工具栏”

    5. Click “Install Now” under the Disable Toolbar plugin
    6. 单击“禁用工具栏”插件下的“立即安装”

    7. Click “Activate Now”
    8. 点击“立即激活”

    Manual Install

    手动安装

      1. Download the plugin from the download button on this page
      2. 从此页面上的下载按钮下载插件

      3. Unzip the file, and upload the resulting disable-toolbar folder to your /wp-content/plugins directory
      4. 解压缩文件,然后将生成的 disable-toolbar 文件夹上传到您的 / wp-content / plugins 目录

      5. Log into your WordPress dashboard and go to Plugins
      6. 登录WordPress仪表板并转到插件

      7. Click “Activate” under the Disable Toolbar plugin
      8. 点击“禁用”工具栏插件下的“激活”

下载地址
https://downloads.wordpress.org/plugin/disable-toolbar.1.0.zip
-EOF-

AI助手支持GPT4.0