using jQuery toggleClass only work for some links

UPDATE : It worked when I added the code also to the addons template
I checked this code with other plugins as well. it’s not working for some other plugins of my website either (when i use it on header.php).
any guess ?

  • This reply was modified 3 days, 7 hours ago by artanro.

Are there any script errors on problem pages? Errors from unrelated scripts can affect otherwise functioning script.

You’re sure the proper code is now loaded on all pages? Could it be the target links of other plugins don’t match the jQuery selectors used by your code?

You’ve not given us much to go on 🙂



Source link