Likoma's Latest
Comments
Recently
- Kim Brown Seely
- WordPress Tutorial | Overview of Basic Publishing (2.9.2)
- All switched, no problems, thanks.
- WordPress Tutorial | WordPress E-Commerce Shortcodes
- WordPress Tutorial | Page Template and Recent Posts from Category
- WordPress Auto Install on GoDaddy
- Gaines-Jones Education Foundation
- Dead Love
- Mexico 2010 San Francisco
- WordPress Tutorial Custom Post Background
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