[Resolved] How do you hide answer on Q&A page until it's clicked on?

Home Forums Support [Resolved] How do you hide answer on Q&A page until it's clicked on?

Home Forums Support How do you hide answer on Q&A page until it's clicked on?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #124734
    Karen Stevens

    Is there a way, on my Q&A page of my site, to have my questions visible, but my answers hidden until someone clicks on the letter A, or clicks on the first few words of the answer, and then it expands and shows the entire answer?

    #124763
    Tom
    Lead Developer
    Lead Developer

    Not without some custom code I’m afraid.

    Alternatively, you can use a shortcode plugin which usually includes this functionality.

    This is definitely the most popular free one: https://wordpress.org/plugins/shortcodes-ultimate/

    #124874
    Karen Stevens

    Thank you! I am okay with custom code, I just don’t know what exact code to use and where to put it. Or, if I shouldn’t be adding custom code, I can use the plug-in.

    Thanks!

    #124937
    Tom
    Lead Developer
    Lead Developer

    I actually found this plugin, which is way more lightweight than the other: https://wordpress.org/plugins/jquery-collapse-o-matic/

    It has great reviews also 🙂

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.