Likoma's Latest
Comments
- 60+ Quality Wordpress Video Tutorials « Premium Wordpress Themes from Zidalgo.com on Lost Password, Update User Info
- 60+ Quality Wordpress Video Tutorials « Premium Wordpress Themes from Zidalgo.com on Setting up a member/user directory in WordPress
- 60+ Quality Wordpress Video Tutorials « Premium Wordpress Themes from Zidalgo.com on Simple Page Edit in WordPress
- sam1 on Tutorials
- Will on Hover-over pop-up text, links, and anchors
Popular
- Hot Flashes Sexy Stories - 26,678 views
- Drupal :: Photos, Galleries, and Modules - 2,454 views
- Using Google Apps email for you@yourdomain.com - 1,943 views
- Transfer Domain to GoDaddy - 1,714 views
- How do I clear my browser’s Cache Memory/Cookies? - 1,317 views
- Setting up a member/user directory in WordPress - 1,166 views
- NextGen Gallery: upload_max_filesize - 1,117 views
- Insert Image in PHP List - 933 views
- Outlook, “Can’t connect to server” - 887 views
- Hover-over pop-up text, links, and anchors - 875 views
Navigo
By Bradley Charbonneau | Filed under Help, Plugins, WordPress
Business Capital has a nice horizontal menu with drop-downs. Most of them are just (parent) pages with children and then grandchildren. Fine, good, works fine. But either it was a glitch or just too late at night, but when on a sibling page, the drop-downs for that parent no longer dropped down. Hmm. Tried some template tag tricks to no avail. Did a bit of a plugin search and came across Navigo.
That worked, the drop-downs worked, but the only thing that didn't work was the parent showing up. A bit of lucky tweaking and I manually put in the parent name and a manual absolute URL and it worked! Here's my Navigo code as embedded in the header:
-
<li><?php if( function_exists('navigo')) navigo('child_of=5&sort_column=menu_order&title_li='); ?><a href="http://www.bizcap.com/about/">About Us</a></li>
The original Navigo code just didn't have that parent link:
-
<li><?php if(function_exists('navigo')) navigo('child_of=5&sort_column=menu_order&title_li='); ?></li>
I added the bullet tags so it worked with the rest of the nav bar.





Leave a Comment