Highlight class not added while using Mobile detection plugins
-
Hello, I am following the set up directions of a genesis based theme where it has used your plugin to scroll the home page to different targets. This works perfectly.
The theme set up also involves using a mobile detection plugin, Mobble, to dynamically load or not load css and js based on mobile or not.
I noticed that the highlighting was not working in the menu and discovered by deactivating plugins that it was mobble that was causing the issue. The highlighting works if the mobble plugin is activated only, but if I use one of its functions as the theme suggests, the highlight class is never added to the links in the menu.
https://painlesstech.com/forestcoveappraisals/
Because of the conflict, I decided to try another mobile detection plugin. I tried the AddFunc Adaptive Content plugin and it causes exactly the same issue.
Im thinking that the way these plugins work, they must be doing something or changing something in the way the page is output that bypasses what your plugin does.
Is there anyway around this?
Are there any mobile detection plugins known to work with your plugin?
Is there a way to modify either your plugin or the others to make this work? A script to add to the functions file perhaps?
Maybe change the priority of the action I’m hooking into to run the functions of the mobile detection plugin?Any help would be greatly appreciated.
Im using Version 1.6.1 of your plugin
WP 4.6.1
Mobble Version 1.5 or AddFunc Adaptive Content Version 2.0Thank you in advance.
- The topic ‘Highlight class not added while using Mobile detection plugins’ is closed to new replies.