Title: Selectors excluded
Last modified: January 26, 2021

---

# Selectors excluded

 *  Resolved [Guenni007](https://wordpress.org/support/users/guenni007/)
 * (@guenni007)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/selectors-excluded/)
 * the inserted classes in the excluding input field do not work anymore. Your trigger-
   class will be set anyway. (__mPS2id)
    i need to exclude all inline popups that
   goes to a given #ID these inline-popups have all a specific class ( inline-popup)
   _____ f.e. i put in : .menu-item a , .inline-popup a, … the right main menu point
   in the example page above should open a popup that opens an unvisible #ID if 
   your trigger class isn’t set – it will open. when i put in the selectors : a[
   href*=’#’]:not([href^=’#’]) it will work too – but i need those anchor points
   on scrolling to a given ID on that page.
 * I know that it is in fact the switch to WP 5.6 with its jQuery Version 3.5.1
   
   i know that jquery migrate could help – but it is time to get rid of this interims
   solution.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fselectors-excluded%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Thread Starter [Guenni007](https://wordpress.org/support/users/guenni007/)
 * (@guenni007)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/selectors-excluded/#post-13958351)
 * Edit : i now had to deactivate your plugin to have those popups. But maybe it
   will be a reproduceable error. So you do not need the testpage.
 *  Plugin Author [malihu](https://wordpress.org/support/users/malihu/)
 * (@malihu)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/selectors-excluded/#post-13958929)
 * The `__mPS2id` class is not the plugin’s trigger/event class. It’s just a selector
   class (it doesn’t mean that the plugin will use the link to scroll the page).
 * In plugin settings, at the very end of “selectors are excluded” field, add the
   following:
 * `, .inline-popup a`
 * click save changes, test and let me know so I can check your page.
 * Another way would be to change the “Selector(s)” option field to:
 * `li:not(.inline-popup) a[href*='#']:not([href='#'])`
 * But the first method (“selectors are excluded” field) should work, so please 
   let me know if you try it so I can check what happens.
 *  Thread Starter [Guenni007](https://wordpress.org/support/users/guenni007/)
 * (@guenni007)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/selectors-excluded/#post-13968992)
 * Thanks for the quick reply:
    yes i did test that on exclusion field i thought
   that the class `__mPS2id` is the indicator if a link is handled by your plugin
   or not. When i deactivate your plugin – the inline popups do work well – see 
   link above. Now – i have activated your plugin – see yourself.
 * “Rückruf” button on bottom – or Corona in the menu
    -  This reply was modified 5 years, 3 months ago by [Guenni007](https://wordpress.org/support/users/guenni007/).
    -  This reply was modified 5 years, 3 months ago by [Guenni007](https://wordpress.org/support/users/guenni007/).
 *  Plugin Author [malihu](https://wordpress.org/support/users/malihu/)
 * (@malihu)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/selectors-excluded/#post-13970016)
 * No problem 🙂
    Go to plugin settings and disable/uncheck “Prevent other scripts
   from handling plugin’s links” option. Save changes, test and let me know.
 *  Thread Starter [Guenni007](https://wordpress.org/support/users/guenni007/)
 * (@guenni007)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/selectors-excluded/#post-13977324)
 * I tested both – because Enfold Theme got its own “smooth scroll” function.
    This
   function i do hamper by that added class no-scroll.
 * Unfortunately no success. As soon as the plugin is active, the inline popups 
   no longer open.
    This is a pity, because I use your plugin very frequently, not
   only because of the “scroll from/to different pages” but also because of the 
   possibility to determine the scroll position very precisely at different screen
   widths via #ps2id-dummy-offset.
    -  This reply was modified 5 years, 3 months ago by [Guenni007](https://wordpress.org/support/users/guenni007/).
 *  Thread Starter [Guenni007](https://wordpress.org/support/users/guenni007/)
 * (@guenni007)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/selectors-excluded/#post-13977343)
 * 😆 very silly error of mine : on exclusion list the last element had a following
   comma
    thats all – sorry for the storm in a teacup
 *  Plugin Author [malihu](https://wordpress.org/support/users/malihu/)
 * (@malihu)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/selectors-excluded/#post-13977539)
 * No problem. Does everything work as expected now?
 *  Thread Starter [Guenni007](https://wordpress.org/support/users/guenni007/)
 * (@guenni007)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/selectors-excluded/#post-13978575)
 * Yes – even with all other settings; so can be considered as resolved and closed.
   
   Thanks

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

The topic ‘Selectors excluded’ is closed to new replies.

 * ![](https://ps.w.org/page-scroll-to-id/assets/icon-256x256.png?rev=1401043)
 * [Page scroll to id](https://wordpress.org/plugins/page-scroll-to-id/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/page-scroll-to-id/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/page-scroll-to-id/)
 * [Active Topics](https://wordpress.org/support/plugin/page-scroll-to-id/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/page-scroll-to-id/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/page-scroll-to-id/reviews/)

 * 8 replies
 * 2 participants
 * Last reply from: [Guenni007](https://wordpress.org/support/users/guenni007/)
 * Last activity: [5 years, 3 months ago](https://wordpress.org/support/topic/selectors-excluded/#post-13978575)
 * Status: resolved