Likoma's Latest
Comments
Popular
- Hot Flashes Sexy Stories - 121,120 views
- Using Google Apps email for you@yourdomain.com - 10,987 views
- Drupal :: Photos, Galleries, and Modules - 7,800 views
- Transfer Domain to GoDaddy - 7,106 views
- Insert Image in PHP List - 6,856 views
- Setting up a member/user directory in WordPress - 6,668 views
- NextGen Gallery: upload_max_filesize - 6,591 views
- How do I clear my browser’s Cache Memory/Cookies? - 5,264 views
- Tutorials - 4,841 views
- Simple Page Edit in WordPress - 4,066 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