Hi,
Is there a way to make a login button popup?
When a user click on the button, then it will show login pop-up.
thanks
st
You can change the login style from wp-admin->appearance->customize->header->login style->Popup.
This reply has been marked as private.
You have to give a unique class to that button and add this script in your wp-admin -> wplms-> footer-> google anaylitics script :
<script>
jQuery(document).ready(function(){
jQuery('.mybutton').click(function(){
jQuery('a.smallimg.vbplogin').trigger('click');
});
});
</script>
where mybutton will be class you will be giving to your button .
This reply has been marked as private.
there was a mistake here in this code :
https://wplms.io/support/forums/topic/login-button-popup/#post-172412
I have modified it . try it again
Ok thanks.. The code works perfectly.
thanks
st
Thanks for confirmation, closing this topic as your issue is resolved now.