• Resolved avalosmedia

    (@avalosmedia)


    The exit notifier works great but i need it to exclude 2 outside links. I unchecked the section to allow me to input info on jquery section and it did exclude the 2 outside links but it also made all the internal links get the notification. I rechecked selection which makes all outside links get notification until i am able to fix it. Thank you

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Curtis V. Schleich

    (@cvscvstechcom)

    On the Behavior tab in settings, uncheck “Apply to all offsite links” and then add the exception to the end of the default selector. For example, if your WordPress installation is http://example.com, your default selector should be:

    a[href*=”//”]:not([href*=”example.com”])

    So, if the link you don’t want the exit notification on is google.com, you can simply add that exception to the end like this:

    a[href*=”//”]:not([href*=”example.com”]):not([href*=”google.com”])

    Then no links containing google.com in the URL will have the notifier on it. You can stack as many of the :not clauses on the end as you like.

    Hope that helps!

    Plugin Author Curtis V. Schleich

    (@cvscvstechcom)

    Also: be careful copy/pasting the text, as browser like to use unicode smart quotes and they will break the jQuery selector string. I recommend retyping all the quotes just to make sure they don’t cause a problem.

    Thread Starter avalosmedia

    (@avalosmedia)

    This worked great. Thank you

    Plugin Author Curtis V. Schleich

    (@cvscvstechcom)

    Awesome!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Internal links getting notification’ is closed to new replies.