Support » Plugin: Login for WordPress » Login without redirection

  • Resolved taadike

    (@taadike)


    I have one question.
    I am using the facebook login button without redirection/refreshing the page so I used this shortcode:
    [fbl_login_button redirect=”#” hide_if_logged=””]

    But is there a way to hide the button without having to refresh the page? In fact I would like to hide an entire DIV where the button is positioned.
    Where should I stick this in your plugin’s code:

    <script type="text/javascript">$('#divId').hide()</script>

    I suppose this should be executed right after the login is succeeded at the server side. But where is that in your code?

    Thanks in advance!

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

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Login without redirection’ is closed to new replies.