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
- Running javascript without hooking wp_head
- Populate Product Regular Price with a calculated ACF Field Value
- Header menu aligned right on all pages except for single-post page [closed]
- Cannot collapse a responsive menu in WordPress
- Hide ‘add to cart’ when certain value in dropdown is selected
- Ajax Form Issues using Lightsail (AWS)
- What is the earliest Hook a Script can use?
- WordPress does not load jQuery
- Change hover to onclick on menu
- post value to function with Ajax and jQuery
- Update $wpdb query with AJAX
- Ajax in plugin fails – but only on one blog – no idea why
- Add “onclick” option to header menu item
- How to automatically add counted number to navigation menu items?
- How to add javascript code into Divi child theme?
- Changing the default view of “The Events Calendar” for mobile
- Images with overlay
- Combine multiple menus using the filter wp_nav_menu_items
- Menu and category highlighting for a single post
- How to use `foreach()` in ajax call
- WordPress Toggle Menu has stopped working
- How to call a function from functions.php with ajax?
- 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)
- How do i create a search option for pdf’s only
- WordPress Ajaxifying not working properly
- Execute jQuery with custom event listener after successfully add an item to the cart
- Load scripts into an AJAX div
- Load scripts into an AJAX div
- How to add widget in main menu
- Find the method which AJAX GET calls
- Get child-pages slugs of current page into js-file
- admin-ajax.php & my wp-admin folder url showing in header
- True parameter but jquery register in header and not in the footer with wp_register_script
- Some code is added automatically to my site’s header – what is it?
- wordpress ajax is not working for dropdown selection
- Language Switch Function
- Javascript and Stylesheet in child page
- WordPress Jquery+scripts enqueue issue
- Search and Replace Script Loader in Head Only Works in Footer
- Insert menu into theme location depending on user logged in/out status
- Moving CDN jQuery to footer does not work?
- How I can add div to menu?
- Adding a jQuery rotator function
- custom post with loading script per single post
- Adding custom field in menu options [duplicate]
- wp_nav_walker that interacts with widgets to setup mega menu
- Adding a filter with custom function to the menu / navigation
- jQuery HoverIntent is not a function
- How to use different jquery function of idangero swiper dependant on page template?
- java script error Uncaught SyntaxError: Unexpected token ILLEGAL
- How to add a class name to the ancestor of a post?
- Function Reference for custom link in Admin Menu Management Page
- Ajax call does not work for this custom code
- Add jQuery function to media button
- Having problems loading Jquery in functions.php
- Why wp_ajax hooks doesn’t work?
- Notice: Use of undefined constant REQUEST_URI – assumed ‘REQUEST_URI’ in ….functions.php on line 73
- new to javascript – using in instead of functions.php, not loading correctly
- Owl Carousel and WordPress Integration Via WP_Enqueue
- AJAX values converted to PHP Variables?
- Jquery dropdown menus working locally, but not in WordPress [duplicate]
- How to hide .js files on wordpress website using php or wp plugins or any? [closed]
- Why don’t ‘wp_nav_menu’ CSS classes work until a menu is created?
- comment_post function with js not running