Simplemodal Plugin and Loginout-Button.
-
Hi all,
I added the Code for a Login/Logout-Button. This works fine, but the Login want open in a Popup, it opens the regular Login-Page.
Where do I have to place the Simplemodal Class or how do i have to modify the Code.
Thx for your anserws and sorry if this topic is a double, but i can´t find an answer..
add_filter( 'wp_nav_menu_secondary_items','wpsites_loginout_menu_link' ); function wpsites_loginout_menu_link( $menu ) { $loginout = '<li class="remove-bullets">' . wp_loginout($_SERVER['REQUEST_URI'], false ) . '</li>'; $menu .= $loginout; return $menu; }
The topic ‘Simplemodal Plugin and Loginout-Button.’ is closed to new replies.