You could just add a CSS rule like so: ul.sub-menu { visibility: hidden; }
.
Related Posts:
- Merge two separate WP menus into one in Mobile view
- Add class to menu ul with active child
- jQuery cookie not working properly in wordpress
- Create search form in menu as in Twenty Fourteen theme
- Hide menu item in certain condition
- How to add fixed position in menu class for Twenty Twelve theme?
- Hierarchical menu nesting problem with jQuery targetting
- superfish.js seems it is not working properly after wordpress upgarde to 4.6.1
- Adding numbers inside a span tag in nav menu [closed]
- Adding toggle-able element after menu item
- WordPress Menu adds an unwanted slash before anchor
- Twenty Fifteen: Change navigation menu behavior
- Drop Down menu expanded by default (on front page) [closed]
- WP Menu Rollover Nav Item and Effect DIV Elsewhere
- Menu item that hides when you click the previous submenu
- Add class to sub-menu from unrelated element
- Cannot collapse a responsive menu in WordPress
- Add “onclick” option to header menu item
- calling JS to custom menu design
- how do you create this customize menu using wp_nav_menu function?
- Mobile menu not working – jQuery error?
- Walker or wp_get_nav_menu_items VS jQuery
- show a hidden ul if li is active
- Foundation Scripts not loading (custom theme)
- Links in new menu don’t work
- jQuery not working when used with wordpress menu
- Jquery dropdown menus working locally, but not in WordPress [duplicate]
- Is it possible to animate the Twenty Eleven menu? [closed]
- Add settings to menu items in the Customizer
- Generate a Menu that Displays Child Pages using wp_list_pages() with the New Menu Functionality in WordPress 3.0?
- How Does The Walker Class Work?
- WordPress Shortcode in Menu Item Title
- Calling the Menu Title within wp_nav_menu array function
- How to hide an item from a menu to logged out users (without a plugin)
- Menu items (all menus) being deleted randomly on their own [duplicate]
- Large WP 3.0 menu times out and won’t save
- How to apply a class to the second word in menu list item?
- Put a wp_nav_menu inside another one
- WordPress wp_nav_menu within iFrame
- Generate a Menu that displays all child pages of top level parent
- Terms with more than one occurrence have current-menu-item class in menu
- Check if wp_nav_menu items have submenus
- start_lvl on Walker is not working
- How to get Menu Navigation Labels to output HTML
- wp_nav_menu doesn’t generate parent/ancestor classes
- WP_nav_menu fallback not working
- How to conditionally register nav menus with advanced custom fields?
- Pending Custom Link in Menu
- Benefits of using Nav Walker?
- Change where navigation bar links?
- Social Links Menu displays icon instead of text (twentyfifteen) [closed]
- has_children in custom nav_walker
- How to add #navbar to all page links?
- How to add wechat (weixin) link to navigation menu?
- Link that refers to a menu item with dynamically generated URL
- Custom walker nav – Add sequential number as class
- Side Menu Icon Expandable
- delete all post with certain meta_keys
- Make nav-menus.php available for editor
- how to add custom wp_nav_menu class css selector to ul and a tags?
- Split into two seperate unordered lists with custom walker
- Excluding a media query from specific pages
- Use dashicons in menu items?
- Responsive dropdown menu with smaller screen sizes
- Menu separator appearing on next line
- Add a counter beside menu item label
- Why is my array of nav menus returning empty?
- Add pages content to startpage through custom menu
- jQuery Drill Down iPod Menu FOUC and Selecting Current page
- Add posts from a category to menu with all posts in it as sub menu
- Admin menu success message
- Page dependent sub-menu?
- Making the menu toggled open on mobile devices Illustratr theme
- How to include second layer sub menu to Walker Nav?
- need help in wordpress navbar setup
- How can I creat custom menu with bootstrap
- Error: Declaration of MyClass::start_lvl() should be compatible with that of Walker_Nav_Menu::start_lvl()
- Restrict user to edit only edit a certain menu
- Where is the source code in the console coming from?
- Migrate old blogroll to menus automatically
- Getting parent object_id of child menu items in WordPress menu
- How to remove a sub-menu using walker hooks/filters without relying on a custom walker?
- display cart information within li of cart menu item
- Calling wordpress menu outside ignores custom menu item
- Specific Page that convert Hyperlink to anchor in nav menu
- change link of menu particular tab
- Next page link via the custom menu
- How can I make this custom design menu work in wordpress?
- Active menu item / category
- Add different span class to wp nav menu
- Menu not always using correct link
- Custom Menus and taxonomies
- Help with changing style of the extended menu drop down [closed]
- How we show pages in dropdown
- wp_nav_menu doesn’t show on index page
- Automatically add new posts to a specific menu name
- can anyone help me converting my static menu to wp_nav_menu I’am trying to add static menu item to WordPress Menu
- Elegant way of adding an CTA to a menu
- How to set menu Display location
- add dynamic ID for wp_nav_menu after and before