It is not possible right now, but I can add an option to disable the esc key over the week-end. Stay tuned!
Thanks!
Also – I have a hidden div that is called into a specific page via is_page. How can I get the modal to show that div?
Thanks again!
Austen
Upgrade to version 3.0.2 to get a new option to ignore the escape key.
As for your question about getting your hidden div to appear when loaded through the dialog, what I would suggest is to modify your got a little bit to look for either is_page to be true or for the presence of a GET variable:
if ( isset( $_GET['showsection'] ) || is_page( 99 ) ) {
...
}
Then, when you put the URL for the page to load in the dialog, add ?showsection=1 at the end of the URL.
Let me know if this works and mark the issue as resolved if it does. Cheers!
Hi Yannick
Many thanks for this – the esc button option works perfectly.
Don’t worry about the other thing (I should’ve opened a new thread anyway) – I’ve iframed the form in separately.
You’re a star, this is really helpful. Thanks again.
Austen
Glad to hear this did the trick. Please drop a review on the plugin if you have a chance.