• Resolved tbricman

    (@tbricman)


    Hi everybody,

    Since the last update, the 3 FAQs which are displayed on the home page using the shortcode [select-faq] are expanded automatically (bottom left). I want them to be collapsed.

    On our dedicated FAQ page, all the FAQ are collapsed by default.
    I don’t understand why the shortcode now behaves differently.

    Is there an option so that the shortcode [select-faq] is displayed collapsed ? Something like [select-fad faq_id=123 expand=false] ?
    Or at least that it respects the global settings ?

    Thanks for your tips and suggestions !

    • This topic was modified 3 years, 7 months ago by tbricman.
    • This topic was modified 3 years, 7 months ago by tbricman.

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support jaysupport

    (@jaysupport)

    Hi bricman,

    If there is only one FAQ output by a shortcode, it will start open (as there is no need for the toggle functionality if there is only one FAQ on the page). For reference, this has also been mentioned in other recent forum posts.

    Why are you using separate shortcodes for these? Since you’re displaying them all on the same page, in the same area, why not just include all three IDs in the same shortcode? For example:

    [select-faq faq_id="1152,2116,24845"]

    Alternatively, as mentioned in the changelog for version 2.0.5, we added in the ability to directly filter the display_all_answers and group_by_category settings, so you can override the defaults with your own code. An example of how to do this can be found here: https://pastebin.com/gZXFcmtw

    Thread Starter tbricman

    (@tbricman)

    Hi Jay,

    Many thanks, this answers my question. ??

    I wasn’t aware of this option and my search didn’t bring up any previous post.
    I will search deeper next time.

    Regards,

    Nancy

    (@dotdabbledorg)

    I had this problem too, and calling both in the same shortcode fixed it, thank you!!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘select-faq expanded by default’ is closed to new replies.