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.
Related Posts:
- Replace menu links with # and add name to its li
- Apply jquery script to only woocommerce product pages and categories
- automatically adding submenu items
- Enqueuing Script in functions.php vs on the page
- jquery won’t load in footer
- Logout hyperlink within a sub-menu
- Loading CDN that requires jQuery in WordPress
- Scripts not appending to element in AJAX call – why?
- Custom Nav Walker sub-menu
- How to search using ajax for exact phrase or words in an input field?
- how to en-queue jQuery to load before the tag
- I can’t enqueue my scripts – They literally aren’t being added to my site
- Run a jquery script on on a certain template page
- retrieves menu and converts it to a readable array
- Add Login/Logout Menu Item to Primary Nav “My Account” Submenu [Woocommerce] [closed]
- Auto scroll to id on page load on all pages except home page. Only do this on mobile
- why is this function firing on all child menu items as well?
- How to load jQuery in TOP of wp_footer?
- Include Jquery libraries in wordpress theme?
- How to hightlight all ancestor menu items of a child page NOT displayed in menu
- Why a SlideShow (made using JQuery FlexSlider) can’t work if I load it form functions.php but work if I load it from my footer.php file? [closed]
- Unable to add extra elements to the main navi (wp_nav_menu_items)
- Creating multiple category drop down
- How to setup a popup registeration page in wordpress with function.php
- Conditional custom menu?
- wp_set_object_term via js btn frontend
- How To Display Author Popup on Entry Meta (Genesis Framework)?
- Multiple Notifications SetInterval
- Automatic add space if user enters number(any digit)
- Modify sub_menu function to show pages below a specifically set page
- Why are some custom javascript files working but some are not
- WordPress Javascript Widget jQuery Dependency Issue
- Animated Accordion [closed]
- iOS and ajaxComplete
- Get menu object from theme_location
- Breadcrumbs showing Parent and Child Pages
- Dynamically add sub-categories to any category in the menu
- Two different menus for two different locations?
- Run Product Filter Javascript On Page Template
- Unregister Nav Menu with fallback?
- Enqueuing External Javascript functions.php
- jQuery plugin function is not a function
- Add confirmation popup on “Move to Trash”
- Unable to get_the_content(); of a post in WordPress via AJAX
- How to load some jquery code to make validation in the theme customizer?
- Is there a way to add a class to non current menu item?
- Woocommerce checkout field maxlength, make input number field only (postcode)
- How To Remove Duplicate Menu Locations
- Get Current User info using wp_localize_script, in functions.php
- How to get the post_name when in preview?
- Where do I add html code to the menu div?
- How do I create page navigation linking to each H2 within the page? [closed]
- How to load jQuery in the footer – nothing works for me
- Not sure if enqueuing js scripts properly
- Allow Post Author to be 0 on Update
- Trouble with adding a wp_enqueue_script on wordpress
- WP Ajax Function Always Returning undefined
- Replace a menu with widget or a custom template file programmatically
- How do I remove the date and category form my portfolio pages
- Categories as main menu items and subcategories as nested lists
- Change CSS for logged in users
- Always the Latest google jQuery instead of default WordPress jQuery
- jQuery does not work
- Can’t call Javascript function – scope?
- Changing parent element’s class or style
- Adding jQuery datepicker to Custom Post Type Metabox [closed]
- In jquery use php variable to execute an enqueued jquery file
- javascript and css links not working on sever
- Add php code to wp_print_scripts?
- How can i unload effect.min.js file?
- Different methods of adding menu support to custom theme
- WordPress can’t get jquery/unslider to work
- Add loggedout class on body using a function or JS
- Are innerHTML elements visible to jQuery functions?
- current_page_item is missing inside wp_nav_menu
- Call javascript functions from each page
- Help with IF has focus then… statment
- Bizarre Child Menu Issue on WP Site
- Populate Product Regular Price with a calculated ACF Field Value
- Header menu aligned right on all pages except for single-post page [closed]
- Hide ‘add to cart’ when certain value in dropdown is selected
- Update $wpdb query with AJAX
- Changing the default view of “The Events Calendar” for mobile
- Images with overlay
- Combine multiple menus using the filter wp_nav_menu_items
- Help wiht adding fullcalendar.io to a WordPress page
- calling JS to custom menu design
- WordPress load javascript file if something… (after the page is loaded)
- WordPress Ajaxifying not working properly
- Load scripts into an AJAX div
- Get child-pages slugs of current page into js-file
- Some code is added automatically to my site’s header – what is it?
- Javascript and Stylesheet in child page
- Insert menu into theme location depending on user logged in/out status
- How to use different jquery function of idangero swiper dependant on page template?
- Add jQuery function to media button
- Having problems loading Jquery in functions.php
- Call wordpress function through functions.php when pressing menu
- dynamically import array from another js file in WordPress
- How to add more than one menu for logged in members?