[wp-hackers] Admin Menu Icons and Text?
mpwalsh8 at gmail.com
Sun Feb 1 16:00:00 GMT 2009
Thanks for the example - I'd see one other that talked about the use
of DIV to display a different icon using hover but your example is
much easier to follow.
On Sun, Feb 1, 2009 at 10:50 AM, Frank Bueltge <frank at bueltge.de> wrote:
> I use a icon form 33x64 pixel and use css-sprites for the mouseover effect.
> see here for a examble:
> On Sun, Feb 1, 2009 at 4:43 PM, Mike Walsh <mike_walsh at mindspring.com>wrote:
>> I am doing some work on my Swim Team plugin and have added a top level menu
>> with a custom icon to the Dashboard. It works but I guessed on the proper
>> size of the icon (20x20) because I couldn't find the proper information
>> anywhere. The WordPress icons are all in one file and displayed using CSS
>> offsets so it isn't easy to tell from the icons that ship with 2.7. Does
>> anyone know the proper icon size?
>> My other question is about the top level menu itself - when I add the top
>> level menu, I get what I want but I also get a submenu with the same name.
>> I'd like the submenu to have different text (like 'Appearance' has 'Themes'
>> and 'Settings' has 'General'). Is there a way to do this with
>> add_menu_page() and add_submenu_page()? I couldn't find it.
>> Mike Walsh - mike underscore walsh at mindspring dot com
>> wp-hackers mailing list
>> wp-hackers at lists.automattic.com
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
More information about the wp-hackers