• Resolved melprok

    (@melprok)


    Hi,

    In the home page I have this:
    [select-faq faq_name=’?Cuales planes médicos aceptan?’ ] [select-faq faq_name=’?Tienen financiamiento disponible?’] [select-faq faq_name=’?Cuándo debe visitar a un oftalmólogo?’]

    But all are expanded by default when the page open.

    How can I do so that they do not expand automatically?

    Thanks!
    Jose

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

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

    (@jaysupport)

    Hello Jose,

    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

    • This reply was modified 3 years, 3 months ago by jaysupport.
    Thread Starter melprok

    (@melprok)

    Hi, Good. Its works. Thanks.

    Other question how I can do the same but in the faqs page?
    https://institutoojospr.com/preguntas-frecuentes/

    I want all close until the person click.

    Thanks,
    Jose

    Plugin Support jaysupport

    (@jaysupport)

    Hi Jose,

    That just looks to me like you have enabled “Display All Answers” option in Settings > Basic tab. As mentioned in the description of that option, it is incompatible with the accordion feature, which you also have enabled. If you just disable the display all answers option, they will start closed.

    Thread Starter melprok

    (@melprok)

    Thanks for your help.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Expand by default…’ is closed to new replies.