How to edit template files and keep them after plugin update?

Version 2 of the Refer a friend plugin was completely written from scratch and now ships with the easy-to-edit front-end templates. So, if you want to edit HTML markup, or some text on any of the front-facing screens of the plugin, such as the My Account tab, product RAF tab, shortcode look, or even emails that are sent via share or to referrals when they get a coupon reward, you can do so easily by following the guide below:

1. Create wpgens-raf folder inside your active theme.

2. Go to the /wpgens-refer-a-friend-premium/templates/ directory and copy files from this directory to newly made wpgens-raf folder inside your theme.

You can copy only the files that you want to edit, but keep in mind that you need to follow the structure, so email templates must be inside the emails folder as it is in the templates directory.

That’s it.

You can now safely edit files from within your theme and you don’t need to worry that they will be overwritten once a new update comes. It acts exactly like WooCommerce templates do.

If you don’t see the templates folder, that means you are using an older version of the plugin, update it to 2.0.x

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.