@amishbhavsar_136
Yes, it is possible to trigger login popup on a button click using jquery but for that you need to share the page URL on which that button added.
Otherwise if I will share the code and ask you to replace the class with the button class and if it will not work for you then you will face issue
It's better to share site specific code
Sure, the page URL is: online.accellearning.com
I want the pop up to be shown when user clicks the Login button.
This reply has been marked as private.
I want the Login Popup to show when I click the Login button on the Home page.
See screenshot to see the button I am referring to:
https://prnt.sc/rptk2n
@amishbhavsar_136,
Please add this code in wp-admin > WPLMS > Footer > Google Analytics Code > within the script tag
<script>
jQuery(document).ready(function($){
$('.bdt-advanced-button').click(function(){
$('body').find('.vbplogin').trigger('click');
});
});
</script>
Thank you.
This works. You can close this topic now.
Thanks for confirming. CLosing then...