Appearance
Social Media Share for Affiliates
Promotion just got a whole lot easier for your affiliates.
With the Social Media Share feature, affiliates can quickly share their referral links directly to popular social platforms without leaving their dashboard. Instead of manually copying and pasting links, they can now promote your products with just a few clicks.
By reducing friction in the promotion process, this feature helps affiliates share more often, driving increased referral traffic and better engagement for your brand.
This guide will show you how to enable and configure the social sharing options for your affiliates.
How to Enable Social Media Share
As the site administrator, you have full control over whether this feature is active and which specific social platforms your affiliates are allowed to use.
Step 1: Navigate to Features & Addons
From your WordPress dashboard, go to FluentAffiliate → Settings. On the left-hand menu, click on Features & Addons. Under the "Advanced Features" section, locate Social Media Share and click the Settings button next to it.

Step 2: Enable the Feature
On the next screen, check the box labeled Enable Social Media Share for Affiliates.

Step 3: Configure Your Platforms
Once the feature is enabled, a list of Social Media Platforms will appear.
- Turn Platforms On/Off: Use the toggle switches on the right side to decide which platforms (like Facebook, X/Twitter, LinkedIn, WhatsApp, etc.) should be available to your affiliates.
- Reorder the List: You can change the display order of the icons by clicking and dragging the arrows on the left side of any platform name.
- Save: When you are happy with your selection, don't forget to click the Save Settings button at the bottom of the screen.

Add Custom Social Platforms (Developer-Friendly Option)
If you want to show additional social networks in the Affiliate Portal (or rename/remove existing ones), you can do that using the fluent_affiliate/social_media_links filter.
This is useful when you want to:
- Add a new platform (for example, YouTube)
- Rename existing labels (for example, Twitter to X)
- Hide any platform you do not want to show
Recommended: Use FluentSnippets
To add custom PHP code safely, we recommend using FluentSnippets instead of editing your theme files directly.
Steps:
- Install and activate FluentSnippets on your WordPress site.
- Create a new PHP snippet.
- Paste the code below.
- Save and activate the snippet.
php
add_filter('fluent_affiliate/social_media_links', function ($links) {
// Ensure we are working with an array.
if (!is_array($links)) {
$links = [];
}
// Add a new custom network.
$links['youtube'] = [
'label' => __('YouTube', 'fluent-affiliate'),
'placeholder' => 'https://youtube.com/@yourchannel',
'icon' => 'fab fa-youtube'
];
// Rename an existing label (if present).
if (!empty($links['twitter'])) {
$links['twitter']['label'] = __('X (Twitter)', 'fluent-affiliate');
}
// Remove a network if you do not want to expose it.
unset($links['tiktok']);
return $links;
});What This Snippet Does
- Adds a new YouTube option for affiliates. You can also add any if you want.
- Renames Twitter to X (Twitter).
- Removes TikTok from the available share list.
After activating the snippet, ask affiliates to refresh their Affiliate Portal page to see the updated options.
How Affiliates Use the Share Feature
Once you have enabled and saved your settings, the social sharing options will instantly become available in the Affiliate Portal.
When an affiliate logs into their account and navigates to their Dashboard (or the Links tab), they will see their unique referral link. Right beneath the link field, a row of social media icons will now be visible.

To share their link, the affiliate simply clicks on their preferred platform's icon. This will automatically open a new window to that specific social network, pre-filling a post with their unique referral link ready to be shared with their audience.

