Allows creation and placement of Admin Pointers (those little blue help boxes) on any page or post, including custom post types.
Author: | Stephen Suess (profile at wordpress.org) |
WordPress version required: | 3.3 |
WordPress version tested: | 4.5 |
Plugin version: | 2.0.3 |
Added to WordPress repository: | 21-05-2014 |
Last updated: | 14-04-2016
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
|
Rating, %: | 84 |
Rated by: | 6 |
Plugin URI: | http://stephensuess.com/ |
Total downloads: | 4 478 |
Active installs: | 10+ |
Click to start download
|
Screenshots
The config page for my example pointer.
The example pointer in action.
FAQ
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 BAP Options page and check the box for “Show Current Screen”. A small header on every page will identify your admin screen.
Q: How can I find what to target (i.e. how to know what to put in for target to tell the system where to place my pointers on the page)?
A: Using built in tools in Chrome or Safari or Firefox or Other, right click on the element you want to target, select “Inspect Element” from the contextual menu, then look for the class or id of that item. Note, if it is a class, prepend with a period (.classname) and if it is an ID prepend with a hash (#idname).
Q: How can I target just the “New” post page, and not have my pointer show up on the “Edit” post page?
A: You will find that each type of page has its own base css, so for example if I am wanting to target the Add Media button on just the new post, I would use “.post-new-php #insert-media-button” as my target.
Q: Sometimes the boxes are slightly offset from where I want them, is there any way to correct for that?
A: There is now (as of version 1.2). Use the newly added Nudge Vertical and Nudge Horizontal fields. You can leave these fields blank for default, or use positive or negative numbers only. Don’t put any other text in those boxes or bad things may happen.
ChangeLog
Version 2.0.3
- BUGFIX: resolved conflicts with some plugins that did not have a wp screen available.
Version 2.0.2
- BUGFIX: fixed PHP Notice error about non object in /wp-includes/post-template.php
- CHANGE: migrated to CMB2
Version 2.0
- NEW FEATURE: Ability to set Z-axis of each pointer
- NEW FEATURE: Ability of pointers to show on front end of site as well as in admin
- NEW FEATURE: Ability to have pointers show on every page of admin or every page of front end
- BUGFIX: fixed alignment problems if wp adminbar was present
- BUGFIX: cleaned up js code
Version 1.5.1
- BUGFIX: Screen display option now properly coded and falls after admin bar loads.
- BUGFIX: Options function naming cleanup.
Version 1.5
- NEW FEATURE: Added tool in BAP Options to help identify current admin screen id.
Version 1.4.1
- NEW TRANSLATION: Added French translation (fr_FR)
Version 1.4
- NEW FEATURE: Plugin is now fully internationalized. Start your translation engines (and let me know if you would like to provide a translation).
- BUGFIX: System will no longer allow bad naming for the Pointer ID (They need to be lower case and no spaces. Plugin will now apply rules to change a badly named pointer)
Version 1.3
- NEW FEATURE: Removed default get_posts limit of 5, now can display more than 5 pointers per page (but really a bad idea, so try to avoid it ok?)
- NEW FEATURE: Options button to reset all admin pointers for all users. Use with caution, as this will also reset the built in WP admin pointers.
- NEW FEATURE: Now listing version number on Settings page
- CHANGE: New format for pointers in DB, please go to options page to update your old pointers. They will not show up until you do.
- BUGFIX: Pointer script was not localized correctly
Version 1.2.2
- BUGFIX: Correct for null values error if nudge fields are left blank
Version 1.2.1
- BUGFIX: If there is more than one pointer on a screen, the correct one will be dismissed. (previously sometimes the wrong item would be dismissed)
Version 1.2
- NEW FEATURE: Ability to nudge pointer in settings if it isn’t sitting exactly in the right place
- NEW FEATURE: Added columns to listing page
- ALSO: added to FAQ, cleaned up strings
Version 1.1
Added options page with permissions
Version 1.0.1
Added FAQ, better explanation strings
Version 1.0
First Version, awaiting bug reports…