Hi @makmerghen
Did you mean to add an expiration time when the user is logged in? You can try checking this plugin: https://wordpress.org/plugins/expire-users/
Regards,
no
I want to make user when doing log in then to still logged in until he do log out manually him self
Regards
-
This reply was modified 4 years, 8 months ago by
makmerghen.
Hi @makmerghen
Users must use the “Remember me” option in the Login form.
Regards,
is there an option to make remember me checked by default
regards
Hi @makmerghen
Try adding this javascript:
jQuery(".um-login .um-field-checkbox-option").trigger("click");
Regards,
thank you for you reply
I added it but it didn’t work
when I opened login page I found checkbox of remember me not checked
so please advise
Hi @makmerghen
Try this one:
jQuery(document).on("ready",function(){
jQuery(".um-login .um-field-checkbox-option").trigger("click");
});
Ensure that you clear any site/browser cache after adding the code.
Regards,
unfortunately didn’t work
Regards
Hi @makmerghen
Try this one:
jQuery(document).on("ready", function() {
setTimeout(function() {
jQuery(".um-login .um-field-checkbox-option").trigger("click");
}, 100);
});
Regards,
thank you now it works
best regards
Thanks for letting us know. I’m marking this as resolved now.
Regards,