Call simplemodal-login from another plugin
-
Hi Eric,
First, I’d like to thank you for creating simplemodal login. Right now I’m using version 1.0.6, and it’s a great plugin. I just have a one question: how can I run simple modal login from inside a plugin that I’m developing? I’ve seen various threads that have asked similar questions, and none of the solutions in those threads have worked for me. I’d imagine that this is because simplemodal login has changed in the past year.
I’ve tried variations of this:
$('.simplemodal-login').trigger('click.simplemodal-login');
but nothing happens. I’m otherwise able to use javascript in my plugin, but for some reason that code doesn’t seem to run simplemodal login. Do you know of some other way I can call simplemodal-login from my plugin? I apologize in advance if I’m making some obvious mistake – I’m very new to wordpress, PHP, and javascript. Anyway, thanks!
- The topic ‘Call simplemodal-login from another plugin’ is closed to new replies.