I noticed that any shortcode that is not part of the contact form 7 builtin shortcodes dont work.
For example: I am trying to use an accordion shortcode between form elements in contact form 7. But the code dont work.
How to solve this without editing contact form 7 core files?
There’s two ways to do what you’re wanting. First way is to add this code to functions.php of the Contact Form 7 plugin:
That allows you to drop shortcodes directly into CF7. Second is to add the Accordion in manually with HTML in the contact form, like this:
I think the second method is preferable, since there is no modifying of core plugin files. I hope this helps out!