I am not sure about the Shortcode in Menu; but Menu Walker Class is your best bet to achieve what you want. Walker Class will pass on each Menu element to your code, this is where you can catch your menu item and make the desired modal pop-up link for a href
of your menu item.
For more information on Walker class, see this link:
Class Reference/Walker
Related Posts:
- Using Shortcodes in WP-Menus in WP 3.1 (via nav_menu_objects)?
- Navigation (wp_nav_menu) refuses to nest within parent element
- Using a shortcode to create a dropdown menu from wp_nav_menu list items
- use value returned from shortcode as menu item
- Iterate through each menu item into a shortcode
- Prevent Menu Shortcode From Formatting
- Primary menu shortcode name
- Hiding Widget On Mobile Devices Removes Our Product Search Box On Mobiles
- Dynamically exclude menu items from wp_nav_menu
- wp_nav_menu: show menu only if one exists, otherwise show nothing
- Does Extending Multiple Nav_Menu_Walkers Allow Nested Menus?
- Making breadcrumb with wp_nav_menu
- adding some custom html code to the wp_nav_menu function
- Renaming a WordPress Admin Menu
- How to add active class on current menu item page?
- How to Move the Author Metabox into the “Publish” metabox?
- How do you get the current-menu-item ID?
- How do I give class to the dropdown sub-menu in the wp_nav_menu?
- rename navigation menu label in wordpress theme by code
- menu entries are lost
- Nav Menu and display post count
- Automatically Add New Tags to Sub-menu
- how to automatically generate hierarchical menus from hierarchy of pages?
- Add sidebars to navigation menu?
- Adding a ‘mega menu’ to my site without a plugin
- Error “The given object ID is not that of a menu item” on menu with 40+ items
- TwentyTwelve child theme mobile menu not working
- Theme menu in Admin Panel
- Adding post excerpt into navigation menu
- Editing WordPress Nav Menu Walker
- Convert WP Menu to a Drop Down for Mobile browser
- WordPress Admin Bar Covering & Overlapping Fixed Menu Header [closed]
- I am facing a problem with the navigation menu of my website
- Prepend to start of WordPress nav loop
- Appending a GET-Variable to wp_nav_menu
- Change search results order for Admin -> Appearance -> Menus -> Pages -> View all
- Add custom external link to menu
- How to make the Primary Menu stay the same in the PC and mobile versions of the Twenty Sixteen theme
- How to add notifcations to front-end menu for users when they recieved replies?
- Displaying different page links on different pages
- One item not showing when programmatically Generating Navigation Menu
- Changing status of Published posts which have less Content to “Draft”
- Main menu highlighting on subpage which is not in submenu but in hierarchy
- Using Zurb’s Foundation Tabs as WordPress Nav (Active Tab)
- Create menu without admin panel
- a better menu, menu options assistance for WP
- How can template identify what page it’s being used on?
- Add a custom class to nav li item
- Custom Post Menu link reverting to Blog menu item
- Can’t display custom menu using name?
- How to add css to single navigation text? [closed]
- Highlighting Active Page in Navigation when Viewing Child Pages
- how to add data to li for wp_nav_menu?
- How to change the link on the logo at the menu?
- Convert complex HTML menu to WordPress [closed]
- add page to main menu (frontend)
- Creating Menu Links in a Custom Theme
- Custom HTML output for registered navigation
- Show subpages of a category in a custom menu
- how to add home icon instead of text in wordpress menu
- How to add a menu that belongs to parent blog to all child-blogs?
- How to create this kind of sub-menu in new line?
- How to use wp_list_pages on a grandparent page
- 2 item in a same menu pointing to 1 page
- Dropdown primary navigation menu not working
- Understanding with this WordPress code
- How do I make it so a post only shows in its category archive but not the home page?
- Link after WordPress
- Im having trouble centering menu items in footer due to “flexbox”
- When created sub-directory, can we create a new navbar?
- Is it all right to put the whole tag into template_part file?
- Mobile menu displays submenus on top of parent. Need it to display right below on an own line
- Misleading behaviour on Menu & Theme location
- How to build a menu that change style over a section
- Menu flickering with each refresh on Google Chrome [closed]
- Remove Double Menu in Mobile View and Have one Menu Only
- calling JS to custom menu design
- How i can get current menu id with multiple occurrence
- How to get rid of the bottom line in the navigation menu via CSS file?
- Links in new menu don’t work
- Vertical Menu items shifting to same line when window size increased [closed]
- Menu on responsive twentytwelve theme not working, strange url error
- Installing compact search in the main menu?
- Next/previous a-like single navigation
- Add more levels to menu
- How to create a menu super voice in WP?
- WordPress Navigation
- Showing Custom Menus in the sidebar
- How to set up suhosin.ini for unlimited menus
- Somehow lost my MENU from my home page- help!
- How to completely remove the top section with the menu?
- Customizing Responsive Themes Menu [closed]
- How To Conditionally Change Menu In Same Theme Location
- Display sub menus as separate lists
- Add menu to CMS page
- Not even able to Log in [closed]
- how can i get the page_ID in nav li [closed]
- Sub menu for a (single) page
- Add acf custom fields so sub item in menus
- change breakpoint widths for divi theme tablet view