Issue with ‘contain_urls’ option
-
I have experienced an issue using your plugin. I have two popups, one of them needs to be shown on /parent-page. I set options:
– Display Settings: Show On these pages
– Which other pages do you want to show the popup on?: A specific set of pages
– How would you like to select the set of pages?: by Page URL
Work fine for the first popup.Then i need to display second popup on page /parent-page/sub-page
I set the same options for it (changing only page url), and here is the issue: on /parent-page/sub-page i see both popups, because you use .indexOf to check if url matches the rule in options and first page url is a substring of second url.In what intelligent way i can resolve it? Any other options in configurations dont display second popup at all (for example “Which other pages do you want to show the popup on? : No other pages” option)
- The topic ‘Issue with ‘contain_urls’ option’ is closed to new replies.