Since its early versions, the theme has included a login and register feature, where the default behavior of the popup is to display the login form first. One of the most requested enhancements has been the ability to directly open the registration form, bypassing the need to first load the login form and then manually switch to the registration form. This feature is available starting from Cariera version 1.8.3 and later.
Triggering Popups on Click
You can trigger the popup using an anchor tag as follows:
Login Form Popup:
<a href="#login-register-popup" class="popup-with-zoom-anim">Open Login Popup</a>
Ensure that the href
attribute points to #login-register-popup
and that you include the popup-with-zoom-anim
class to properly initialize the popup.
Register Form Popup:
<a href="#login-register-popup" class="popup-with-zoom-anim register-popup">Open Register Popup</a>
To open the registration form directly upon initialization, simply add the register-popup
class to the anchor tag.
Triggering Popups on Window Load
To automatically trigger the login or register popup when the window loads, simply add #login-popup
or #register-popup
to the end of the URL.
For example:
- To trigger the login popup:
https://cariera.co/#login-popup
- To trigger the register popup:
https://cariera.co/#register-popup