Contact Form 7 itself does not include built in functionality for displaying forms in a popup or accordion style toggle.
It focuses on form handling, so behaviors like modals, popups, or show/hide interactions are usually handled at the theme or JavaScript level.
You can achieve what you’re looking for by:
- Using a popup/modal plugin and placing your Contact Form 7 shortcode inside it, or
- Adding a simple toggle/accordion with custom JavaScript or your theme’s existing components to show/hide the form when a button is clicked
If your theme already includes modal or accordion features, that can often be the easiest way to implement this without additional plugins.
Thread Starter
GregW
(@gwmbox)
All good I was able to resolve this with some custom code 🙂