Title: Nested FAQs opening wrongly
Last modified: March 29, 2023

---

# Nested FAQs opening wrongly

 *  Resolved [peter8nss](https://wordpress.org/support/users/peter8nss/)
 * (@peter8nss)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/nested-faqs-opening-wrongly/)
 * I have FAQ A which contains a shortcode to display all FAQs from group A, say
   A1, A2 and A3. FAQ A1 has a shortcode to display all FAQs from group B, say B1,
   B2, B3. When I click on the plus sign next to A1, I would like it to open FAQ
   A1 but with B1, B2 and B3 closed up. Instead, it opens A1 AND B1, B2 and B3. 
   It (correctly) changes the sign next to A1 to minus but leaves the signs next
   to B1, B2 and B3 as plus – despite them now being open.
 * I think the problem is in frontend/js/scripts.js where:
 * parent_toggle.addClass(‘active’).**find**(‘.qe-toggle-content’).slideDown(‘fast’);
 * Should be:
 * parent_toggle.addClass(‘active’).**children**(‘.qe-toggle-content’).slideDown(‘
   fast’);
 * To stop it traversing down to the next level FAQs when opening.

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

 *  Plugin Author [Usman Ali Qureshi](https://wordpress.org/support/users/usmanaliqureshi/)
 * (@usmanaliqureshi)
 * [3 years ago](https://wordpress.org/support/topic/nested-faqs-opening-wrongly/#post-16747579)
 * Hi,
 * We appreciate you contacting us and letting us know how you experienced and fixed
   the problem.
 * Could you please share the URL of the page where you have these FAQs A and FAQs
   B displayed?
 * Thanks
 *  Thread Starter [peter8nss](https://wordpress.org/support/users/peter8nss/)
 * (@peter8nss)
 * [3 years ago](https://wordpress.org/support/topic/nested-faqs-opening-wrongly/#post-16748149)
 * Look at [https://new.8nss.org.uk/programme/](https://new.8nss.org.uk/programme/)
   which contains “[faqs filter=”programme” style=toggle order=asc]” (group A). 
   If you click on “Weekly Meetings” it conatins “[faqs filter=”meeting-time-group”
   style=toggle order=asc]” nested FAQ (group B). But please note the fix I suggested
   is in place on that site.
 *  Plugin Author [Usman Ali Qureshi](https://wordpress.org/support/users/usmanaliqureshi/)
 * (@usmanaliqureshi)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/nested-faqs-opening-wrongly/#post-16979553)
 * Hi,
 * Thanks for sharing the URL, we will update the code for nested FAQs and release
   an update.
 * Regards

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

The topic ‘Nested FAQs opening wrongly’ is closed to new replies.

 * ![](https://ps.w.org/quick-and-easy-faqs/assets/icon-256x256.png?rev=2287561)
 * [Quick and Easy FAQs](https://wordpress.org/plugins/quick-and-easy-faqs/)
 * [Support Threads](https://wordpress.org/support/plugin/quick-and-easy-faqs/)
 * [Active Topics](https://wordpress.org/support/plugin/quick-and-easy-faqs/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/quick-and-easy-faqs/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/quick-and-easy-faqs/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Usman Ali Qureshi](https://wordpress.org/support/users/usmanaliqureshi/)
 * Last activity: [2 years, 9 months ago](https://wordpress.org/support/topic/nested-faqs-opening-wrongly/#post-16979553)
 * Status: resolved