Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

http://webdesignsalemoregon.com/westernmennoniteschool/ is my website.

I've got the top menu which is the one that was in the theme when I started to customize it. It's got a test drop down that works just fine. I included a secondary menu under the slider with this code

<div id="secondaryMenu">
    <?php
        $menuID = 'bottom-nav';
        $footerNav = '';

        if (function_exists('wp_nav_menu')) $footerNav = wp_nav_menu( array( 'theme_location' => 'footer-menu', 'container' => '', 'fallback_cb' => '', 'menu_id' => $menuID, 'menu_class' => 'bottom-nav', 'echo' => false, 'depth' => '2' ) );
        if ($footerNav == '') show_page_menu($menuID);
        else echo($footerNav);
    ?>
</div>

It works just fine, except for the fact it does NOT show drop downs? I've got 3 pages underneath "Admissions" the furthest left item, and they don't show up?

share|improve this question
    
Have you viewed source? Are they showing, but css is hiding them? A link to the site with this issue would be extremely helpful in troubleshooting. –  cale_b Mar 10 '12 at 1:07
add comment

1 Answer 1

up vote 0 down vote accepted

First let me start by stating the @cale_b is probebaly right and you should first look at your css / jquery to ensure that your items arnt being hidden...

Also - you should change this:

'depth' => '2'

To this:

'depth' => 0

0 = show all & no need to surround it like this: '0' This is the right way 'depth' => 0
(since its not a string.)

Hope this Helps, Cheers, Sagive.

share|improve this answer
    
I actually just ended up figuring out I could use the jQuery Superfish function on that whole element, and it worked just fine, lol. Thanks though! –  Des Mar 13 '12 at 19:22
    
glad you got it working :) –  Sagive SEO Mar 13 '12 at 20:05
    
tip: you should fix your question to show solution and mark it answerd ;) –  Sagive SEO Mar 14 '12 at 23:04
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.