Lightbox and Link, modify operation

0

Good morning. This middle lightbox, where it asks for login and password, only appears after the user clicks on that "Restricted Access" link. Is there any way for this lightbox to appear automatically? I already checked extensively that this operation was not configured through visual interface (plugin, theme panel or wordpress). Would you have any suggestion of configuration through code? (I can implement in some cases). There is only interest in keeping a management system active behind this login. The commercial site that appears behind will be hidden and replaced by another one in another domain. Appreciate. (WordPress 4.4.14 with the theme Enfold Child). Link

    
asked by anonymous 03.02.2018 / 16:44

1 answer

0

  • $loginButton.click(function(e){
    	$lightboxWrap.show();
    });

    by:

    $loginButton.click(function(e){
    	$lightboxWrap.show();
    }).trigger('click');
        
  • 05.02.2018 / 17:19