How do I get it to load automatically if the user is not currently registered or logged in?
How do I get it to load automatically if the user is not currently registered or logged in?
+1
That would be cool feature! Also, it would be nice if the "auto trigger" would work on selected posts/pages. That way SimpleModal would work as content protection plugin.
Here's one of possible usages: on pages where visitors are allowed to create blog posts from front end, the automatic triggering of Simple Modal could be used to allow posting to registered users only.
Any ideas?
This hack should probably start with
<?php if ( is_user_logged_in() )
...but I do not know how to create hook and what to fire from this plugin.
Anyone help please?
This topic has been closed to new replies.