Title: using in navigation menu
Last modified: August 21, 2016

---

# using in navigation menu

 *  [mariolop](https://wordpress.org/support/users/mariolop/)
 * (@mariolop)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/using-in-navigation-menu/)
 * hello, anyway to use wp modal login in navigation menu?
    thanks
 * [http://wordpress.org/extend/plugins/wp-modal-login/](http://wordpress.org/extend/plugins/wp-modal-login/)

Viewing 15 replies - 1 through 15 (of 24 total)

1 [2](https://wordpress.org/support/topic/using-in-navigation-menu/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/using-in-navigation-menu/page/2/?output_format=md)

 *  Plugin Author [Cole Geissinger](https://wordpress.org/support/users/brainfestation/)
 * (@brainfestation)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/using-in-navigation-menu/#post-3788834)
 * At this moment there’s no way, but something I was thinking of the other day.
   I’ll see about adding this feature in a future version.
 *  [paulgiurin](https://wordpress.org/support/users/paulgiurin/)
 * (@paulgiurin)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/using-in-navigation-menu/#post-3788855)
 * Using it in wp nav:
 * paste this in your functions.php
 * /**
    * Hook to implement shortcode logic inside WordPress nav menu items * Shortcode
   code can be added using WordPress menu admin menu in description field */ function
   shortcode_menu( $item_output, $item ) {
 *  if ( !empty($item->description)) {
    $output = do_shortcode($item->description);
 *  if ( $output != $item->description )
    $item_output = $output;
 *  }
 *  return $item_output;
 * }
 * add_filter(“walker_nav_menu_start_el”, “shortcode_menu” , 10 , 2);
 * and then in your nav description section paste in shortcode.
 *  Thread Starter [mariolop](https://wordpress.org/support/users/mariolop/)
 * (@mariolop)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/using-in-navigation-menu/#post-3788857)
 * In the nav description section???
    Shouldn’t it be in the URL field? it is not
   working
 *  Thread Starter [mariolop](https://wordpress.org/support/users/mariolop/)
 * (@mariolop)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/using-in-navigation-menu/#post-3788858)
 * Nevermind, got it.
    Thank you
 *  [darwin1995](https://wordpress.org/support/users/darwin1995/)
 * (@darwin1995)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/using-in-navigation-menu/#post-3788895)
 * Could one of you explain fully how you implemented this as I’m a bit confused
   as to the process and desperately want this in my navigation menu as well.
 * Many thanks
 *  [darwin1995](https://wordpress.org/support/users/darwin1995/)
 * (@darwin1995)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/using-in-navigation-menu/#post-3788896)
 * Where in my theme functions.php do i paste the code and what short code do I 
   enter into my nag description?
 * Cheers
 *  Thread Starter [mariolop](https://wordpress.org/support/users/mariolop/)
 * (@mariolop)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/using-in-navigation-menu/#post-3788903)
 * you have to paste it at the end of your theme’s functions.php file. Then, go 
   to Menu in the WP-admin area, enable description under screen options (upper 
   right corner), leave the URL field empty and paste the shortcode in the description
   field.
 * Bests
 *  [Aniruddha Mishra](https://wordpress.org/support/users/ani7ruddhagmailcom/)
 * (@ani7ruddhagmailcom)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/using-in-navigation-menu/#post-3788961)
 * using this the logout function is not working..
 * Please check [http://metainfos.com/demo/](http://metainfos.com/demo/)
 *  [MitzuWorks](https://wordpress.org/support/users/mitzuworks/)
 * (@mitzuworks)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/using-in-navigation-menu/#post-3788962)
 * @ani7ruddha
 * The shortcode to use is:
 * `[wp-modal-login login_text="Login" logout_text="Logout"]`
 * You should paste this in a custom menu item with
    URL: [http://#](https://wordpress.org/support/topic/using-in-navigation-menu/?output_format=md)
   Navigationlabel: Login/Logout Description: the shortcode
 * Save the menu and it should become visible and functional.
 *  [mazrobby](https://wordpress.org/support/users/mazrobby/)
 * (@mazrobby)
 * [13 years ago](https://wordpress.org/support/topic/using-in-navigation-menu/#post-3788977)
 * it breaks the logout function 🙁
 *  Plugin Author [Cole Geissinger](https://wordpress.org/support/users/brainfestation/)
 * (@brainfestation)
 * [12 years, 12 months ago](https://wordpress.org/support/topic/using-in-navigation-menu/#post-3789015)
 * Just a quick update, I have begun working on the next major release, 2.1, and
   it will officially support wp_nav_menu() support.
 * No set release date, but you are always more than welcome to install and test
   the bleeding edge versions on the GitHub account [https://github.com/colegeissinger/wp-modal-login](https://github.com/colegeissinger/wp-modal-login)
 *  [lava-team](https://wordpress.org/support/users/hungrygolf/)
 * (@hungrygolf)
 * [12 years, 12 months ago](https://wordpress.org/support/topic/using-in-navigation-menu/#post-3789016)
 * sound great! Is it possible to add on navigation with current GitHub version?
   or do I have to wait more?
 *  Plugin Author [Cole Geissinger](https://wordpress.org/support/users/brainfestation/)
 * (@brainfestation)
 * [12 years, 12 months ago](https://wordpress.org/support/topic/using-in-navigation-menu/#post-3789017)
 * Not available yet in the bleeding edge versions, but you can follow the repo 
   and you should get notifications about any updates when they roll out.
 * Just remember, branch 2.1 is an alpha version so I wouldn’t install it on any
   live servers 🙂
 *  [sweetmelody](https://wordpress.org/support/users/sweetmelody/)
 * (@sweetmelody)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/using-in-navigation-menu/#post-3789022)
 * Waiting for the good news, thanks Cole!
 *  [miakurt1](https://wordpress.org/support/users/miakurt1/)
 * (@miakurt1)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/using-in-navigation-menu/#post-3789071)
 * I am stuck and have spend all day trying to add a jquery login form. Please help!!!
 * Where is the ** nav description section** and which shortcode should be pasted
   in there?
 * Thank you.

Viewing 15 replies - 1 through 15 (of 24 total)

1 [2](https://wordpress.org/support/topic/using-in-navigation-menu/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/using-in-navigation-menu/page/2/?output_format=md)

The topic ‘using in navigation menu’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-modal-login_999999.svg)
 * [WP Modal Login](https://wordpress.org/plugins/wp-modal-login/)
 * [Support Threads](https://wordpress.org/support/plugin/wp-modal-login/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-modal-login/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-modal-login/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-modal-login/reviews/)

 * 24 replies
 * 15 participants
 * Last reply from: [RogerSanchez](https://wordpress.org/support/users/rogersanchez/)
 * Last activity: [12 years, 2 months ago](https://wordpress.org/support/topic/using-in-navigation-menu/page/2/#post-3789110)
 * Status: not resolved