Maybe you are referring to something like this:
<?php
define( 'WP_USE_THEMES', false );
require_once( '/absolute/path/to/wp-blog-header.php' );
wp_nav_menu( $args );
but the current menu item highlighting will not work as expected.
Related Posts:
- Add Javascript to WordPress Menu
- Add custom menu item using wp_nav_menu_items filter
- register_nav_menus() won’t register menus
- Custom Post Types posts as submenus in Nav Menu
- Filter out built-in wp_nav_menu classes but keep custom class
- How to include the ‘current-menu-ancestor’ class on a custom post type menu in WordPress?
- HTML Bootstrap navigation menu to WordPress menu using wp_nav_menu
- Getting URL value from menu item by ID
- Adding a class (arrows) to main menu links that have children?
- Is it possible to add a filter for the output of nav-menu items in admin?
- Adding html elements to wp nav menu
- How to change menu according to the language?
- insert element inside wp menu list item
- How to style current page menu item when using a walker
- add_action for saving a custom menu
- Getting post content within wp_nav_walker
- Nav Walker current menu item not displaying
- Navigation (wp_nav_menu) refuses to nest within parent element
- Removing strip_tags not working on nav_menu_description
- Wp_Nav_Menu – Identify the last menu item
- Add custom menu item metabox in Navigation Settings
- Hide Menu Unless Logged In
- Populating main menu from external JSON API
- HTML in Menu Items disappear on save
- How to put a Menu on the left side of a particular page in WordPress 3.5
- How to change theme header to support multiple nav menus?
- How do you cope with the task of adding hierarchy to the navigation menu?
- wp-admin is blocking my mobile menu icon [closed]
- Filtering Only a Specific Menu using the “add_additional_class_in_li”?
- Displaying primary nav menu two ways
- Why do menus break on site url and folder change?
- Restrict control in nav-menu for specific role
- walker – 0 level on submenu formatting
- Translate a word in a responsive menu
- current-menu-item class not working properly
- Uber menu, manual integration, disable Mobile
- Remove nav menu item by script
- Drag and drop isn’t working while creating menu
- Custom Menu Broken WP 3.8.1 Update
- How to I know the class or ID of my theme?
- Adding sub-menu item makes parent item unclickable
- Reverse the order of and in a wp_nav_menu
- Missunderstanding of WordPress menus
- How to add schema.org SiteNavigationElement and property URL to navbar?
- Get custom classes in WordPress Navigation Menu
- Where is the order of a menu saved in the database
- how to remove description from menu buttons?
- Prevent more than 2 level menus in dashboard?
- wp_nav_menu: Is there a way to modify the output of that got a submenu?
- How can I create a new menu item that links to an archive of a custom post type?
- Make two bootstrap menus collapse into one dropdown
- How can I list the current pages siblings and any ancestor page siblings?
- Adding archive years to my menu
- Show menu only if_page is
- Custom menu – different submenu for first menu item
- switching test to production > main menu forgotten, background forgotten
- WordPress Menus – How to add inline styles to UL menus
- custom menu widget where menu title is a link
- removing the list container from the custom menu output
- creating a dynamic menu in wordpress
- WordPress website – Mobile menu behavior help
- Hide default menu items in wordpress apearance > menus
- No option to move blocks up and down. The bar for it simply isn’t there
- Multi-Level Nav Bar
- How to make Logout Link consistently appear on all web pages?
- Change markup for just 2nd list element in custom Walker menu
- Custom menu items in admin
- Additional CSS for the nav menu
- WordPress Accessible Keyboard Menus
- Conditional hiding of the menu
- Incorrect Behavior on WordPress Main Menu
- Put two menus in the same location
- mysterious menu
- Importing large product categories into wordpress menu
- Different HTML markup for similar menus
- Custom wordpress submenu
- Why does appear? I’m trying to remove a generic link called navigation on my main menu
- Show more menu items to registered members
- Mark a page of a queried menu as active
- Is it possible to separate all submenu items?
- WordPress menus – automatically generate
- wp_nav_menu not selecting teh correct menu
- Menu item hidden behind others
- Add a Submenu from Another Submenu in a Custom Theme
- Give a condition to a wordpress menu item to change its offerid for each landing page I create
- Highlighting Main Navigation Menu With Two or More Class Matches
- Display a tag before the menu list content
- Menu id in nav menu ignored
- Bootstrap 3 and WordPress menu navigation menu highlighting
- Building Menus with the latest posts included
- Cannot control wp_nav_menu properly
- How to add drop down sub menu from database fields in the particular menu slug
- wordpress superfish dropdown menu
- Drop down menus css in custom menus
- wp_nav_menu changed to wp_page_menu
- how to assign an ID to a wordpress menu
- Keeping my Sub Menu open when hovering on its list items
- How to change the markup created by menu item only on chosen items?
- How to disable permalink of a particular menu item?
- Database structure Menu Item