• I ended up adding some changes to make it function a bit more intuitively for me, but this is a great start to put up a FAQs section quickly.

    Things I added:
    Closed all the questions on load (instead of the first question being open automatically).
    Allowed the answers to be toggled open and closed independent of the other questions (ie. more than one or none can be open at a time).

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author iammathews

    (@iammathews)

    Thanks for your feedback! The plugin was made for this reason, as there will never be something that “fully” fits anyone’s needs.

    I am glad and impressed with the changes you’ve made, and thanks again for choosing my plugin over others.

    Hi AEG-wiz… how did you do that? Would be very interesting to know how to apply those adaptations.
    Thanks, Tom

    Plugin Author iammathews

    (@iammathews)

    Hi Tom,

    Which one of those changes are you trying to implement? I will see if I can help you here.

    Regards.

    Hi Yusri… thanks a lot! Exactly the two pieces mentioned above:
    – all questions closed on first view
    – independent open/close toggling for each question

    Tom

    Plugin Author iammathews

    (@iammathews)

    Hi Tom,

    All Q’s Closed

    1. In the plugin folder, edit faqss.php
    2. On line 275, and 303, replace these ( $faqssCounter == 1 ? '' : ' style="display: none;"' ) with this ( $faqssCounter == 1 ? ' style="display: none;"' : ' style="display: none;"' )

    Independent Open/Close

    1. In the plugin folder, inside js, edit public.js
    2. You can rewrite the on click function, on line 11
    3. Copy and Paste from the script from public.js to public.min.js

    Hope this helps.

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

The topic ‘Nice start to a FAQs section’ is closed to new replies.