Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Is there anything built-in to core that displays a little (?) icon next to admin-side input fields (custom metabox input fields, for example) that provide tooltips or a contextual help popup when rolled over? I thought I saw something like that once, but it may very well have been specific to a plugin.

Any thoughts?

share|improve this question
    
How are you building out your meta boxes? –  Brian Fegter Sep 20 '11 at 7:07
    
The usual way - adding the callback to the CPT declaration –  Tom Auger Sep 20 '11 at 12:43
1  
Nothing I know of out of the box then. :) I love jQuery tools tooltips though. flowplayer.org/tools/tooltip –  Brian Fegter Sep 20 '11 at 14:16
    
That's a danged sweet library there. And completely license-free, I notice. Nice one. –  Tom Auger Sep 20 '11 at 19:49

2 Answers 2

Most of the jQuery UI is already built in to the WP admin and it is planned for the WP 3.3 update to include the rest of the UI.

It is not until jQuery UI 1.9 final release where tooltips will be added in so perhaps after WP 3.3, jQuery UI 1.9 will be incorporated in thus adding in-built tooltips without having to enqueue anything.

share|improve this answer
    
Cool! We'll see how that works out... –  Tom Auger Oct 20 '11 at 19:33

You can achieve this without the use of a plugin, depending on how you display your meta fields you may only need to use some html and jquery for the tooltip.

My all time favourite for custom metaboxes is the WPAlchemy Class. The file structure is very organised and separate files are used for different metaboxes.

For the tooltip itself there are plenty of jquery plugins available its a matter of including the scripts to display in the admin post section that can be accomplished using wp_enqueue_script.

More information on wp_enqueue_script can be found here.

Hope this helps.

share|improve this answer
    
Thanks for the interest, Matt. There are tons of ways one can roll one's own tooltips, but my question was probably misphrased, but really was intended to see whether there was anything out of the box that was designed for that. –  Tom Auger Sep 20 '11 at 12:45

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.