How to use Contact Form 7 shortcode?

Refer a friend comes with the Contact Form 7 shortcode [gens_raf]. The way it works is that it allows your users to send personalized messages via contact form 7 to their friends, and a referral link will show at the end of the email or where you place the shortcode in the email body. Usually, you want to create some page that will hold this form. At the top of the page, you can add some text like “Use this form to invite your friends, in exchange, every time they make a purchase, we will award you with the coupon”. Then below you would place the form. 

The form needs to have a shortcode added in 2 places:

1. Inside Form Tab:

woocommerce refer a friend How to use Contact Form 7 shortcode? inside form tab

2. Inside Mail Tab:

woocommerce refer a friend How to use Contact Form 7 shortcode? inside email tab

This will ensure that once customer sends an email, it will be sent to his friend with custom message and subject. Make sure “To” is a friends email field. 

This shortcode was introduced in the first version of Refer a friend before email sharing was an option. But its still powerful as it enables you to allow customers to add custom text which email sharing does not allow in current state. But thats also subject to change in one of the future patches.

What they say

Trusted by 7000+ customers

Our plugins are used by more than 7000 websites across the globe. All of our plugins are rated 5 stars on Don’t just take our word for it, check what others are saying about WPGens.

I bought and tested the plugin with WooCommerce Subscription and it works like a charm. I had some specific questions to the developer and he responded very fast and helped me. I suggest the plugin!

Refer a Friend PREMIUM

If your looking to set up a referral program on your WooCommerce site to boost up your site sale “Refer A Friend for WooCommerce by WPGens” is your plugin to go for. Little blown away with an amazing support provided from (Goran) the plugin working exactly what you want to set up a referral system. Good job guys!

Refer a Friend PREMIUM

We deal with dozens of applications and plugins on a daily basis. Many of them are excellent, but few have truly excellent support. The Refer A Friend plugin is one of them: the response to my questions is always fast, friendly and very helpful.

Refer a Friend PREMIUM

This plugin is awesome. It looks good, it’s light weight, has great support – everything you can expect from a paid plugin, only it’s free!!!!

Swifty Bar

Read all testimonials on WordPress Repository.

Get notified when we add new plugins.

We do not publish plugins often, but when we do, it's something awesome. No spam, we promise.