• Resolved joloshop

    (@joloshop)


    Hi there, i only would like to open the pop up on some pages.

    I tried your code from another answer

    find at exit-popup.php
    if(!isset($_COOKIE[‘viewedExitPopupWP’]) && $_COOKIE[‘viewedExitPopupWP’] != ‘true’) {
    
    replace with
    if(!isset($_COOKIE[‘viewedExitPopupWP’]) && $_COOKIE[‘viewedExitPopupWP’] != ‘true’ && strstr($_SERVER[‘REQUEST_URI’], “YOURPAGENAME”)) {

    However it is not working. I used GUTSCHEINE but it does not show on any page now.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter joloshop

    (@joloshop)

    found the solution just use:

    if(!isset($_COOKIE[‘viewedExitPopupWP’]) && $_COOKIE[‘viewedExitPopupWP’] != ‘true’ && strpos($_SERVER['REQUEST_URI'], 'gutscheine')) {

    Thread Starter joloshop

    (@joloshop)

    is it possible to exclude a slug as well, it shows also on pages where I have the slug produkt-gutscheine

    Sorry but unfortunately we can not modify the plugin based on each user needs. You need to code this customization on your end.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘open only on some pages’ is closed to new replies.