Limited Support
Our team is currently on holiday, so support will be limited during this period. Response times may be slower than usual, and some inquiries may be delayed.
We appreciate your patience and understanding, and we’ll resume our usual support by the end of August.
Hi,
I try to link my elementor login popup window with WpDiscuz, but it needs a link, but elementor popup just provides us the possibility to open the popup with a selector like:
a[href="#link-loginpopup"]
Is there a way to tell WPdiscuz to open the elementor modal login window?
thank you in advance
Nico
Please follow this support topic the same question is discussed here: https://wpdiscuz.com/community/troubleshooting/trying-to-add-login-url-using-a-link-pop-up-login-form/#post-3566
thank you very much,
With the code on the page you indicate I have the following error:
syntax error, unexpected '$', expecting variable (T_VARIABLE)
Sorry have added Php snippet code, it's JS
but nothing happen
Ok I find a solution based on your feedback.
So you need to create an elementor Popup including login module.
1. Set the option "Open by a selector" by : .wpd-popup-login-form
Don't forget the dot before. This option is in your popup page by selecting the toothed wheel bottom left of the screen and selecting the "advanced" tab.
2. After create a PHP snippet or paste the following code in your (children) theme function.php :
add_filter("wpdiscuz_login_link", function ($login) { return str_replace(" href=", " class='wpd-popup-login-form' href=", $login); });
and voilà.
Thank you very much Asti !