Sticky Menu, a plugin for WordPress
July 6th, 2007 ericdes
I wrote this little plugin to easily create menus in WordPress.
Normal use of WordPress to create menus:
Because WordPress normally creates menus automatically, for example from a list of categories or pages, you have to exclude manually all items you don’t want in your menu, which can be a lengthy process if you have a lot of categories or pages.
Also, you can’t mix categories and pages in a same menu. You can’t put a link to a subdomain, which could be the case if you have a forum running outside WordPress for example.
What Sticky Menu improves:
Sticky Menu lets you define an unlimited number of menus, in which
you list the exact number of menu items you want to appear. Menu items can link to any pages, posts, etc., in your site or any URLs exterior to your site. You can define a class name for each menu item.
With Sticky Menu being activated, you go to the admin board and look for Sticky Menu in the ‘Manage’ section. There, you create as many menus and menu items as you’d like. In this example, I created a menu named ‘Main’ with 4 menu items: Home, Fun, About me, Contact me.
![]()
Then I edited the template files header.php, footer.php, sidebar.php to add these lines:
$menu = new stickymenu;
$menu->display_menu('menu=Main'); # Will display menu 'Main' here
(Please note that the names are case-sensitive, e.g. ‘Main’ is different than ‘main’.)
5/21/2008: Sticky Menu 1.41 - Fixed type bug related to ‘class’ field.
Download links to the Sticky Menu plugin:
Sticky Menu Download Area (History)
Entry Filed under: WordPress plugins


218 Comments Add your own
Pages: « 22 21 20 [19] 18 17 16 15 14 13 12 … 1 »
190. David | October 4th, 2007 at 4:43 pm
I use this plugin and I’ m very happy, becouse my blog is beautiful. thank’s
189. Tom | October 2nd, 2007 at 12:02 pm
hi! Tom here again,
great, the plugin works well on my wp 223. Thank you!!
One wish: it may be more ‘user friendly’.
I miss simple dropdown menus in admin, from where to choose cats already there and their links (no more look elsewhere-then cut-then go back-then paste!), and menus already created (no need to scroll the page).
Also, it would be nice to have a ’select all items’ button to disable/enalbe/edit menus, and an alert box upon ‘delete items’.
It looks a long list (it is
but as far as I’m not a coder it should not be too difficult to implement the changes, which would make SM veeeery easy to use.
Will you think about it, please? That would be wonderful!
Anyway, it does the job (one of the best of his kind I’m aware of, in fact), so kudos praise and accolades for your great plugin!!
188. Tom | September 30th, 2007 at 12:21 am
Hi!
Just installed this plugin, looks very useful!!
A question: is there a way to let the plugin show & pick categories which are already there, or do I have to look for their links manually for each one I want in a menu?
Maybe I’m missing something..
Thank you!!
187. Kladblog » Blog Arc&hellip | September 24th, 2007 at 12:17 am
[…] besloot het Sticky menu eens proberen. Menus zijn hiermee via de plugin-admin te beheren. Ik hoef alleen enkele files te […]
186. brtak | September 18th, 2007 at 1:17 pm
Great plugin, easy to style, easy to customize. One last point to perfect is also that i want to mark the current menu tab! Thank you, have a nice day.
185. Thilo | September 7th, 2007 at 4:19 pm
I also want to mark the current entry in the menu! Please provide a solution!!!!
184. Things I do to optimize a&hellip | August 2nd, 2007 at 7:56 am
[…] Sticky Menu - Sticky Menu lets you define an unlimited number of menus, in which you list the exact number of menu items you want to appear. Menu items can link to any pages, posts, etc., in your site or any URLs exterior to your site. You can define a class name for each menu item. […]
183. Luis | July 29th, 2007 at 11:19 pm
I have the same question as Karsten.
WP inserts
<li class="page_item current_page_item">to the menu according to the page.I would like to use it to show a background color on the active menu item.
182. Karsten Vennemann | July 24th, 2007 at 6:25 pm
I just installed sticky menu and it works great. On thing I wanted to find out is whether one can make the menu tbas (mine are in the header ) highlight when the current page is active (just as wp usually does ? Can this be done with sticky menu ? If yes how ?
Thanks
Karsten
181. tela | July 24th, 2007 at 4:23 am
Hi Andy,
There is no javascript in Sticky Menu. It’s most probably your css that is not compatible with Internet Explorer.
Pages: « 22 21 20 [19] 18 17 16 15 14 13 12 … 1 »
Leave a Comment
Some HTML allowed:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>
Trackback this post | Subscribe to the comments via RSS Feed