WP Rentals Help WP Rentals Help

  • Client Support
  • Video Tutorials
  • WpEstate
Home / WP Rentals Theme Options / Show login modal after user registers successfully

Show login modal after user registers successfully

After 2.50 theme update

This functionality is in the theme automatically after 2.50 theme update

And can be tested here https://main.wprentals.org/

Before 2.50 theme update

Please add the following code in ajaxcalls.js at line 1410

 

the code is

setTimeout(function(){
jQuery('#reveal_login').trigger('click');
}, 3000);

After the “you can login” message is displayed the script will wait for 3 seconds and then display the login form. If you want to change the waiting duration replace the 3000 with your number (1sec = 1000 )

 

For mobile login you have to do almost the same thing

 

add this code in ajaxcalls.js around line 1040 (in function wpestate_register_wd_mobile)

 

setTimeout(function(){
jQuery('#widget_login_sw_mobile').trigger('click');
}, 3000);

WP Rentals Theme Options

Related Articles

  • What payment platforms are supported in WpRentals?
  • SMS Management by Twilio
  • Hide booking form and replace with Owner Contact Form
  • How to allow only certain users to be owners

HELP CATEGORIES

  • 61. General
  • 102.Installation & Basic Setup
  • 93. Installation FAQ
  • 374. How Booking Works
  • 165. User dashboard pages
  • 14Advanced Search Options
  • 3Blog Post
  • 11Custom Page Templates
  • 3Elementor Compatibility
  • 13FAQ
  • 8Menu Options
  • 28Multi-Languages - 3rd party
  • 9Owner
  • 22Property / Listing
  • 19Shortcodes
  • 12Submit Form
  • 5Supported Maps
  • 91Technical how to
  • 5Third Party plugins
  • 4Translation
  • 14Widgets
  • 2WooCommerce Payments
  • 12WP Rentals Payment
  • 68WP Rentals Theme Options
  • 14Wp Rentals Updates
Follow Us : Powered by WordPress and WP Estate-All Rights Reserved
  • Client Support
  • Video Tutorials
  • WpEstate