Conflict with simple modal login
-
Hey there
First thanks for the awesome plugin, I love it and I have implemented it in many sites that I’ve been working on since I discovered it.
However I found a problem on how to the click function is being handled and I don’t know how to fix it. In a gallery I was working on, it requires to open the site’s registration form once you click some slides that leads to restricted posts to guests.
Our site is using Simple Modal Login (https://www.ericmmartin.com/projects/simplemodal-login/) to open the login form. What the plugin does basically is to get wordpress login form and add functionality and styles to it in a simple way without overwriting wordpress files.
To use it, in any link you need to add the class ‘simplemodal-login’ for the login form, and it will trigger the properly formated form. However, when I add the link in the gallery item in your plugin, and I go to click the slide, it opens the wordpress login, not the site one.
I’ve added a condition in the code to specifically add the ‘simplemodal-login’ class specifically to that slide only, but even thus, the functionality of the simple modal login plugin is being overwritten somehow by your plugin.
Is there a way to fix this to let both of them to work together?
Thanks so much for your support and time!
- The topic ‘Conflict with simple modal login’ is closed to new replies.