WordPress.org

Support

Support » Plugins and Hacks » WP Modal Login » logout_url not working in shortcode

logout_url not working in shortcode

  • When I try to use the shortcode is works fine except the logout_url=” which should be the home_url(). But it seems that this parameter in the shortcode is ignored so the redirect url is not in the querystring for logout.

    If I use the function instead add_modal_login_button(), the logout_url is working fine.

    Here’s my shortcode I call

    [wp-modal-login login_text='Connexion' logout_text='Déconnexion' logout_url='' show_admin=false ]

    https://wordpress.org/plugins/wp-modal-login/

  • The topic ‘logout_url not working in shortcode’ is closed to new replies.
Skip to toolbar