Support » Plugin: Login With Ajax » Auto-login after registratrion

Viewing 1 replies (of 1 total)
  • Solved! I’ve installed this plugin and added this script in widget-out.php

    <script>
    		        jQuery.fn.exists = function(callback) {
    		          var args = [].slice.call(arguments, 1);
    
    		          if (this.length) {
    		            callback.call(this, args);
    		          }
    
    		          return this;
    		        };
    
    				// Usage
    				jQuery('p.submit input#wp-submit').click(function() {
    
    					setTimeout(function (){
    			             //something you want delayed
    						jQuery('span.lwa-status-confirm').exists(function() {
    							window.location.reload();
    						});
    			         }, 5000); // how long do you want the delay to be?
    				});
    		        </script>

Viewing 1 replies (of 1 total)
  • The topic ‘Auto-login after registratrion’ is closed to new replies.