This plugin will allow creation of admin help tabs (and associated sidebars) on any screen in the WordPress admin area. It creates a custom post type called Help Tabs to store information. You need to add the following info to make it work:
- Title – The title of your tab
- Main content area
- Screen – What page/screen it should appear on
- Type – Help tab or tab sidebar
HELP TAB EXAMPLE:
Let’s say I want to add a help tab on the main Help Tabs listing page that says something about my plugin. I would use:
- “My Main Tab”
- “This is a main tab with my own info on it!”
- Select “Tab” (the default)
HELP SIDEBAR EXAMPLE:
Let’s say I want to add a help sidebar (these are the areas to the right with extra info and links) on the main Help Tabs listing page. I would use:
- “My Sidebar”
- “This is a sidebar!”
- Select “Sidebar”
IMPORTANT NOTE: While there can be multiple tabs per page, there can be only ONE sidebar per page. If you add others to the same page, only the first one found will show.
NOTE: I also have a plugin that does Admin Pointers (those blue info boxes), if you are interested in that one you can find it here: https://wordpress.org/plugins/better-admin-pointers/
This plugin leverages the great work done by others here:
For configuring metaboxes on the custom post type:
Imagens de tela
It is always a good idea to make a backup of your database before installing any plugin.
There are 3 ways to install this plugin:
Search for it in your WordPress Admin (Plugins/Add New/Search) area and install from there
Download the zip file from https://wordpress.org/plugins/better-admin-help-tabs/ and then go to Plugins/Add New/Upload and then upload and activate it.
Upload the folder “better-admin-help-tabs” to “/wp-content/plugins/”, then activate the plugin through the “Plugins” menu in WordPress
- Q: How can I find the screen/page id name to use?
A: This can be easily deduced from looking at the URL in the admin. For regular posts, it would just be “post”. For a custom post type, it would be the name of that custom post type (my-custom-post-type). For other pages (like my plugin editor example), it usually works to just remove the “.php” from the end of the url (i.e. “plugin-editor.php” becomes “plugin-editor”).
- Q: Is there some handy reference somewhere for the main admin screen ids?
A: You are in luck: https://codex.wordpress.org/Plugin_API/Admin_Screen_Reference
- Q: I’m the lazy type, is there some tool to help me identify admin screens?
A: You are in even greater luck. I just added an option to show you what screen you are on anywhere in the admin. Go to BAH Options page and check the box for “Show Current Screen”. A small header on every page will identify your admin screen.
- Q: If I have more than one tab on a page, how can I order them?
A: Like the blog, they are in reverse cron order. So you can just change the dates of the ones you want to be on the top to the latest. If there is enough interest I may add an order field in a future version.
- Q: Can I put the same tab on multiple pages?
A: As of version 1.1, yes. Separate your page(screen) names with either a comma or a space.
Colaboradores e desenvolvedores
“Better Admin Help Tabs” é um software com código aberto. As seguintes pessoas contribuíram para este plugin.Colaboradores
Registro de alterações
- FIX: REGEXP was not matching if item was at end of the line.
- FIX: Fixes the previous fix to the fix. Who knew MariaDB was not really identical to MySQL?
- FIX: previous fix was not a fix. This version fixes the fix, sigh.
- FIX: help tab query was sometimes showing on wrong pages because of partial name matching.
- FIX: resolved conflicts with some plugins that did not have a wp screen available.
- FIX: applying content filter properly to help tab content.
- FIX: Screen display option now properly coded and falls after admin bar loads.
- NEW FEATURE: Single entry can show on multiple pages
- First Version, awaiting bug reports…