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
230 Comments Add your own
Pages: « 23 … 14 13 12 11 10 [9] 8 7 6 5 4 … 1 »
90. KirbyG | January 10th, 2007 at 2:43 am
Hi,
I’ve been working with the plugin and it’s great, I’m very happy.
I wanted to point out a possible bug, though.
My wordpress site is at “http://mydomain/test/” so the root of my wordpress install is NOT the bare domain, it’s in a subdirectory.
However, when I enter a url in the link box, they are relative to the domain name, not to the wordpress install directory. I would have assumed that relative URLs would have been to the wordpress root, not the domain.
Perhaps a wrong assumption, but one I wanted to point out.
Thank you for this cool plugin, I’ll make lots of use of it.
89. Eric Brown | January 3rd, 2007 at 9:16 pm
Great plugin. Works perfectly on my website. Feel free to view at http://ericbrownpm.com
88. melissaodom.com » B&hellip | December 29th, 2006 at 8:18 am
[…] Sticky Menu Plugin for Wordpress. […]
87. Claude | December 27th, 2006 at 12:54 pm
Hi
I try to use this plugin under Wordpress MU but the “Sticky Menus” sub-panel under “Manage” doesn’t appear ? What can I do ?
Thanks
86. jhonqwerty.com » Bl&hellip | December 27th, 2006 at 6:10 am
[…] Sticky Menus: Para crear menúes que se relacionan con las páginas que vas creando y librarse del tipo de navegación más típico de los blogs. […]
85. Skylog » Blog Archi&hellip | November 24th, 2006 at 9:28 am
[…] Sticky Menu (tags: wordpress plugin) […]
84. 3dsl Eugen | November 21st, 2006 at 8:46 pm
Tela, i tested it witch worpress 2.0.5 and functioned super. Thanks for great tool
83. Baku | November 18th, 2006 at 1:16 am
Tony, try reinstall it.
82. Tony | November 17th, 2006 at 9:27 pm
Hi,
Great plugin, sorry if this has been anwered before, but How do I make my current page highlighted?
I am using this plugin so I can mix a home page plus regular pages with category pages and that works fine. I have installed it into K2 http://getk2.com/ which has a dynamic tabbed men. The plugin works, but it does not indicate what page you are currently on.
Is there a way to do this?
81. tela | October 29th, 2006 at 7:12 pm
Sara and Peter,
I just posted a guide to help position the menu in the header. Hope it helps!
Pages: « 23 … 14 13 12 11 10 [9] 8 7 6 5 4 … 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