AI助手支持GPT4.0
This plugin will allow creation of admin pointers on any screen in the WordPress admin area, or any front end page, or on all pages.
此插件将允许在WordPress管理区域,任何前端页面或所有页面上的任何屏幕上创建管理指针。
It creates a custom post type called Pointers to store information.
它创建一个名为Pointers的自定义帖子类型来存储信息。
You need to add the following info to make it work:
您需要添加以下信息以使其起作用: p>
OR you have the ability to show on all admin or all front end pages (using ALL_ADMIN or ALL_FRONT)
或者您可以在所有管理页面或所有前端页面上显示(使用ALL_ADMIN或ALL_FRONT) li>
(left, right, top, or bottom)
(左,右,顶部或底部) li>
(top, bottom, left, right, or middle)
(顶部,底部,左侧,右侧或中间) li>
(Value in pixels. ex: -50, from edge value above, only works if edge above is left or right)
(以像素为单位的值。例如:从上方边缘值开始,-50,仅在上方边缘为左或右时有效) li>
(Value in pixels. ex: -50, from align value above, only works if align above is top or bottom)
(以像素为单位的值。例如:从上面的对齐值开始的-50,仅在上面的对齐是顶部或底部时有效) li>
other elements on the page)
页面上的其他元素) li>
ol>
EXAMPLE:
示例: strong> Let’s say I want to add a pointer on the edit plugin page that tells a user to notice which plugin they are editing.假设我要在“编辑插件”页面上添加一个指针,告诉用户注意他们正在编辑哪个插件。I would use:我会用: p>“Which Plugin am I Editing?”“我正在编辑哪个插件?” li>“This is the file you are editing, duh”“这是您正在编辑的文件,du” li>“ss_editplugs”“ ss_editplugs” li>“plugin-editor”“插件编辑器” li>“.fileedit-sub”“。fileedit-sub” li>“top”“顶部” li>“right”“正确” li>“-50”“-50” li>“-5”“-5” li>“50000”“ 50000” li> ol>NOTE: This will only work for logged in users, whether on front end or back end.注意:这仅适用于登录用户,无论是在前端还是后端。 p>NOTE: I also have a plugin that does help tabs, if you are interested in that one you can find it here: https://wordpress.org/plugins/better-admin-help-tabs/注意:我也有一个插件,里面有帮助标签,如果您对此感兴趣,可以在这里找到:https://wordpress.org/plugins/better-admin-help-tabs/ p>This plugin leverages the great work done by others here:此插件利用了其他人在这里所做的出色工作: p>For configuring metaboxes on the custom post type:用于在自定义帖子类型上配置元框:https://github.com/WebDevStudios/CMB2https://github.com/WebDevStudios/CMB2 p>For base class and code to allow pointers to display properly:用于基类和代码以允许指针正确显示:https://gist.github.com/brasofilo/6947539https://gist.github.com/brasofilo/6947539 p>
Let’s say I want to add a pointer on the edit plugin page that tells a user to notice which plugin they are editing.
假设我要在“编辑插件”页面上添加一个指针,告诉用户注意他们正在编辑哪个插件。
I would use:
我会用: p>
NOTE: This will only work for logged in users, whether on front end or back end.
注意:这仅适用于登录用户,无论是在前端还是后端。 p>
NOTE: I also have a plugin that does help tabs, if you are interested in that one you can find it here: https://wordpress.org/plugins/better-admin-help-tabs/
注意:我也有一个插件,里面有帮助标签,如果您对此感兴趣,可以在这里找到:https://wordpress.org/plugins/better-admin-help-tabs/ p>
This plugin leverages the great work done by others here:
此插件利用了其他人在这里所做的出色工作: p>
For configuring metaboxes on the custom post type:
用于在自定义帖子类型上配置元框:
https://github.com/WebDevStudios/CMB2
https://github.com/WebDevStudios/CMB2 p>
For base class and code to allow pointers to display properly:
用于基类和代码以允许指针正确显示:
https://gist.github.com/brasofilo/6947539
https://gist.github.com/brasofilo/6947539 p>
It is always a good idea to make a backup of your database before installing any plugin.
在安装任何插件之前备份数据库总是一个好主意。 p>
There are 3 ways to install this plugin:
有3种方法可以安装此插件: p>
Search for it in your WordPress Admin (Plugins/Add New/Search) area and install from there
在您的WordPress管理员(插件/添加新内容/搜索)区域中搜索它,然后从那里安装 p>
li>
Download the zip file from https://wordpress.org/plugins/better-admin-pointers/ and then go to Plugins/Add New/Upload and then upload and activate it.
从https://wordpress.org/plugins/better-admin-pointers/下载zip文件,然后转到Plugins / Add New / Upload,然后上传并激活它。 p>
Upload the folder “better-admin-pointers” to “/wp-content/plugins/”, then activate the plugin through the “Plugins” menu in WordPress
将文件夹“ better-admin-pointers”上传到“ / wp-content / plugins /”,然后通过WordPress中的“插件”菜单激活插件 p>
原文出处:http://www.sanshu.cn/a/4414.html
群主管理都是支付大佬