How to Enable External Shortcodes in Contact Form 7

>How to Enable External Shortcodes in Contact Form 7
  • enable

Someone left a comment on one of my YouTube channel‘s videos – How to add a consent checkbox in Contact Form 7 – telling me that he wants to add a pop-up shortcode into the acceptance checkbox in Contact Form 7.

Unfortunately, adding other shortcodes in a Contact 7 form won’t work by default.

But luckily, there is a way to enable external shortcodes in Contact Form 7, and in this tutorial, I’ll show you how to do it!

Enable external shortcodes in Contact Form 7

You can watch the video or read the post. If you go for the video, make sure to read the note at the end of the post, though.

I’ve added a tooltip plugin to use as an example for you guys.

I added its shortcode into a Contact Form 7 form, and this is how it looks like:

external shortcode in contact form 7 not working

As you can see, the ‘naked’ shortcode appeared. It didn’t work.

So, to enable such shortcodes and make them work in Contact Form 7, you’ll need a plugin called Contact Form 7 Shortcode Enabler.

It has no settings, so you just need to install the plugin, activate it, and you’re done!

Let’s see if my shortcode works now in Contact Form 7.

enable external shortcode contact form 7

Yep, it does work!

Super easy, right?

Note

This might not work properly or at all if you add an external shortcode into a Contact Form 7 shortcode, as the user on YouTube wanted.

Example: [acceptance] Text [external-shortcode] text [/acceptance]

That’s a wrap

I hope you found the post useful and managed to enable external shortcodes in your Contact Form 7 plugin!

Don’t forget to share the post to help out others!

You can quickly subscribe to my newsletter by using this link.

If you have any questions or thoughts, drop a comment or send a message via contact or Facebook page.

You can also hit the follow button on Twitter and subscribe to the YouTube channel.

My WordPress website or blog installation service is at your disposal!

On-going WordPress support and maintenance service is on the menu as well!

By |2018-10-21T14:20:03+00:00October 21st, 2018|Plugins|0 Comments

Leave A Comment

WP ENGINE OFFER!

20% OFF + 4 months FREE on WordPress hosting
Offer expires on 11/30/2018
To celebrate the release of the Gutenberg editor, WP Engine is offering:
  • 20% OFF the first payment on their shared WordPress hosting plans;
  • 4 months FREE on any annual subscription.

And there's more! Since WP Engine bought StudioPress, all their customers get FREE access to the StudioPress themes, including the Genesis Framework!
 
Disclosure: If you make a purchase using this affiliate link, I might receive a commission from WP Engine, at no additional cost to you! Thank you!
close-link