• Resolved isaac85

    (@isaac85)


    Thanks for a gorgeous plugin. Unfortunately I’m having trouble getting the FAQs to accordion out on the page. Instead they’re opening in a new page.

    I have FAQ Toggle and FAQ Accordion both set on YES.

    I’m using the Storefront theme but the problem also happens with the default 2017 theme.

    All plugins and WordPress are updated to the current version.

    UPDATE: I found that deactivating the Woocommerce plugin fixes this problem and the FAQs toggle properly. Is there any solution for this? I can’t imagine the plugin is incompatible with Woocommerce.

    Thanks!

    • This topic was modified 6 years, 9 months ago by isaac85.

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

Viewing 8 replies - 1 through 8 (of 8 total)
  • Hello isaac85,

    Please note that the toggle for FAQ requires you to have jquery properly loaded to your WordPress site. It seems like it is a conflict with autooptimize that is causing errors/conflicts in the Jquery(Please see the image). What happens if you disable autooptimize?

    Here is the link to see the errors that autooptimize is causing:

    Best regards,

    Thread Starter isaac85

    (@isaac85)

    Thanks for your answer. Unfortunately we have the same problem with deactivated Autoptimize.

    Hi isaac,

    autoptimize is still/back on. There’s definitely a conflict somewhere. We just have to figure out where. This functionality works. I can see in the source code that the toggle functionality is enabled:

    So, something is stopping the functionality from working.

    Many people use WooCommerce and our plugin. There is no direct conflict between the two. Perhaps you have another WooCommerce extension/plugin that is actually conflicting and that is making it so, when you deactivate WooCommerce, it works.

    Maybe try deactivating deactivating all other plugins. Then, if it works, you can enable them one by one to see which is conflicting.

    Thread Starter isaac85

    (@isaac85)

    So it turns out that the culprit was the plugin “Hyyan WooCommerce Polylang Integration”. I really need this plugin so that my site works in 2 languages. Do you have any idea what can be causing the conflict?

    autoptimize is still/back on.

    pro-tip for future reference: you can disable AO on a per-request basis by adding ?ao_noptimize=1 to the URL (on condition the page caching component is not configured to ignore querystrings) ??

    hope this helps future debugging,
    frank (ao dev)

    Thread Starter isaac85

    (@isaac85)

    Thanks Frank, but the problem is with a different plugin. AO is working great ??

    Hi Isaac,

    We are not familiar enough with that Polylang extension to know what in it might be causing an issue with our JavaScript toggle functionality. It seems strange that a language plugin would have JS that would conflict. Additionally, there are no console errors that would indicate why the JS might not work on that page. The only thing we can suggest is to look and see if there are any options in that plugin for anything that might use JS (e.g. animations, filtering, etc.) and see if you can disable those options and if it makes a difference.

    You can also contact the developer of that plugin and check to see what in that plugin might use JS.

    Thread Starter isaac85

    (@isaac85)

    OK, thanks very much for your help with this!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘FAQs open in new page instead of inline’ is closed to new replies.