View Categories

How to set up which image to share through the Share buttons?

Unfortunately, Facebook no longer allows passing the image that you want through share buttons, instead, they are all defined in the header via og:image tag. You can add this tag manually or through a plugin:

1. Manually: If for some reason, you are not using SEO by Yoast, you can manually add og:image tag by following the second section of this tutorial.

2. Via SEO by Yoast plugin: In SEO by Yoast, the most popular WordPress plugin for SEO, you can define which image to share by following this tutorial: https://kb.yoast.com/kb/why-doesnt-facebook-display-an-image/

Depending on which page your customers are sharing, you need to set up an image for that page. So if in plugin settings, you defined that the My Account page referral link will be the home page, then you need to set up a social image on the home page. In order to test which image is sharing for you, you can use this debugger tool. Just click Scrape again if you replace the image and you don’t see a new one appearing. 

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 WordPress.org. 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
@rinpocse91

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
@samroon007

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
@smartDIYer

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
@ofirbeigel

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.