I think you don’t have to use any plugin for that, check out:
http://codex.wordpress.org/Function_Reference/wp_nav_menu
and use $depth
to control the levels you want to display.
Related Posts:
- Easiest way to add dropdown to a page
- How to get the element ID from new menu list that added with add_filter()?
- Redirect to another page using contact form 7? [closed]
- WordPress site hamburger menu toggle not working
- show-hide based on select option jquery wordpress
- Adding icons next to categories in wp_nav_menu
- Adding an onchange event to a custom dropdown menu in WordPress
- how to show selected options drop down menu values in attributes field in after saving post.php
- Pass a php string to a javascript variable
- Wondering what these multi-colored extra pages are?
- Problem in loading javascript in footer
- Set the active Navigation Menu from a plugin
- JQuery not working in my plugin [closed]
- prettyPhoto media loading very slowly in Chrome
- Menus, but not by theme location
- How to load plugin after page is loaded – pagespeed issues
- add mediaelement.js plugins into WordPress video player control bar
- Shortcode button dosent work for all posts. Work for first post only
- Get IDs of Images from Gallery Block in InnerBlocks of a Custom Gutenberg Block
- How to make a customize role and view a specific plugins base on that role?
- React JSX in WordPress Plugin Development
- Internationalization autocomplete JS variable
- Pulling data from custom plugin settings using PHP shortcode and Javascript
- Using custom JS plugins with WordPress?
- Override Javascript in a Plugin?
- How to disable specific plugin in mobile version?
- Is there an earlier hook than login_head or login_enqueue_scripts?
- Best approach to fetch data from wp options to js file or php file
- Creating a nav menu
- Can someone please tell me what is wrong with my plugin?
- Updating the Drag-To-Share eXtended share URLs?
- Scripts at the end of the page
- wordpress site | All-in-one-cufon IE Issue
- Enqueue WordPress plugin scripts below all other JS
- How to add Internationalization in WordPress using Javascript/React?
- Can I use custom CSS and js plugin to put JavaScript in to validate my forms
- Change upload folder for a CPT
- Override Plugin Script Fucnction in WordPress
- Time consuming callbacks in customizer
- Modifying a .js Function for Print [QZ Tray, WooCommerce POS]
- Merging Two menus in the backend into one menu
- add image crop function like in wp customizer
- Calculate price and display on woocommerce product single page under price (simple price, variable price) [closed]
- Executing Javascript when a New Post is Published
- Set featured image using javascript in post editor
- Display encrypted content on my website
- Is there a standard way to listen for an on change event of a posts featured image
- How to edit content before post update
- Trying to create a private area custom for each user where they upload images to a server [closed]
- I want to auto populate data in three fields if one drop down is selected
- wp.media javascript issue with on select
- WordPress + JavaScipt + AJAX + MySQL: insert query for form
- Delete mobile menu button [closed]
- add input in custom javascript from WordPress pages/posts
- html generated by theme exist but doesnt appear in browser
- Advanced AJAX Page Loader ignores other JS code
- How to insert HTML/JavaScript form into WordPress page? [closed]
- Changing page URL and connect newsletter to MailChip
- accessing wp.media api from a tinymce plugin
- Add custom JavaScript that is a combination of CDN/uploaded files and easily-edited code?
- How to load wp_editor via AJAX
- Redux Framework: Page freezes on typing in Editor
- Dynamic admin submenu
- Center and hide overflow of WP toolbar custom links
- How to get DEFER or ASYNC attribute to appear when I add a stylesheet with wp_enqueue_style from a plugin? [duplicate]
- How to get my plug-in, wrote in php, to refresh on its own every 5 minutes?
- How to remove admin main menu name repetition
- WordPress 3.8.3. custom theme – sliders won’t load js/css files
- Using TinyMCE in plugin?
- Using window.onload with Ubermenu
- Custom Permalink Plugin and Current Page/Ancestor in Menus
- GeoMashup plugin: how to customize cluster markers / icons? [closed]
- wp-custom-menu filter removes the current_page_item class
- add_action does not call the function
- How can I remove the WordPress-Version (?ver=5.x) from my plugin
- How to use my menu PHP code as sidebar?
- Is there a loading priority for login_enqueue_scripts?
- Delay JavaScript files from loading
- “Conflict” with jQuery (or its plugins)?
- JavaScript in a PHP plugin
- Deactivate JS Script in Plugin Shortcode
- how to prevent all css and javascripts files from loading
- Remove / overwrite some functions in buddypress.js
- wordpress add_action() issue in ajax call
- Hide a Menu Item on Login
- How to get menu location in wp_update_nav_menu hook
- How do I add some javascript validation to the admin interface form’s onsubmit?
- Localizing methods for jQuery append prepend wrap parent
- PHP script from functions php is loaded via admin-ajax to div…and the result is 0, not the desired content
- How to execute a plugin on a single page only?
- how to insert a HTML form into a javascript popup?
- Display a consistent Google Plus icon on ALL pages of my site
- MediaElement.js works on one site but not the other?
- Which plugin can do horizontal scrolling of RSS feeds in WordPress [closed]
- Pass user role to javascript code inside body
- Add type to enqueued script inside plugin
- After updating the WordPress getting a syntax error in the console
- How to generate an all in one WordPress New content, plugin and theme update report on a website? [closed]
- Progmatically adding menu links to the default (Top) or Footer menu
- get specific value of a array | PHP