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

    (@pepperguy)

    To follow up, I created a new page with the only content being an accordion and it broke the menus as well. They worked prior to the addition of the accordion.

    https://whatmatterstome.org/grant-test/

    Thank you.

    Plugin Author philbuchanan

    (@philbuchanan)

    It looks like their is some other accordion code that is part of your theme that is trying to work it’s magic on the output of my plugin. If you look in the shortcodes.js file that is part of your theme you’ll see the code attempting to activate the accordions (right at the top of the file). I think that is causing the error as the error you are seeing is related to :nth-child and my plugin doesn’t use that expression at all. My plugin is only bringing that error to life because I use the same accordion class name that that JavaScript is referencing.

    You might be able to remove that accordion code from the shortcodes.js file (always make a backup first) to fix the issue.

    Thread Starter Pepperguy

    (@pepperguy)

    Brilliant! Thanks so much. I removed the theme’s accordion shortcode instructions from shortcodes.js in the theme’s framework folder and that seems to have done the trick. Much obliged!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘jquery drop-down menus break on page where plugin is used’ is closed to new replies.