the answer for all question about Oxygen Builder plugin and WordPress
1 Comment
  1. Matt says

    WordPress doesn’t provide any user tracking or “session” by default. So there’s no way to check how long a user is already on your site.

    My attempt would be:
    1) Check if cookie ‘modaldisplay’ exists. If not set cookie with timestamp + 50 secs
    2) on every page load (main template?) check that cookie. If timestamp vs now is reached trigger your modal.
    3) delete cookie (to reset timer) or set to a future timestamp, maybe 5 days in advance.

    That is all a bit of a hack. It’s just my first idea.
    There are sure better solutions. Any comment from a genius fellow?

Leave A Reply

Your email address will not be published.

Oxyrealm Docs OxyMade - Oxygen Builder Design Set Mega collection