Bug: accordion style FAQ always displays answer under certain condition
-
I use a plugin to create shortcodes that display HTML text when inserted. If I use a shortcode that has one line (such as company_name) in either the question or the answer, it works as expected.
However, if I use a shortcode that displays many lines of HTML (such as refund_policy) the accordion effect does not apply to most or all of the text generated by the shortcode.
To clarify: if the content of the answer is
lorem ipsum [refund_policy] dolor sit amet
When using Code Snippets Pro, “lorem ipsum” is hidden and shown with the accordion effect. All text in the HTML snippet is always displayed, and the left padding setting is not respected.
When using Post Snippets (free), “lorem ipsum” and the text in the HTML snippet before the first <p> tag are hidden and shown with the accordion effect. All other text generated by the shortcode is always displayed, and the left padding setting is not respected.
- This topic was modified 11 months, 3 weeks ago by . Reason: typo
- This topic was modified 11 months, 3 weeks ago by . Reason: clarity
The page I need help with: [log in to see the link]
- The topic ‘Bug: accordion style FAQ always displays answer under certain condition’ is closed to new replies.