New Feature: Earn 12 Badges
Collect up to 12 exclusive badges by sharing your plugin collections and engaging with the community.
See all Badgesby West Coast Digital
This plugin uses hooks append social share icons to your content.
It uses the if_single() WordPress hook to ensure only fires on all single posts or the included WooCommerce hooks.
Configured shared content:
Image = post featured Image – full url
Title = post title
Content = the first 40 words of the content
URL = the post permalink
These are the social channels currently supported by the plugin
* Facebook
* Twitter
* Pinterest
* LinkedIn
* WhatsApp
* Email
If you want to find custom icons, I recommend you check out https://iconmonstr.com
To use Iconmonstr SVG code
1. Search for your required icon
1. Click on the icon you like
1. Ensure SVG is selected
1. Agree to the license conditions
1. Click on Embed
1. Ensure Inline is selected
1. Highlight the displayed SVG code
1. Copy and paste the code into the relevant icon section
1. Save Changes at the bottom of the page
You can add more sharing using the following function and modifying it as required
function add_extra_icons($social_links) {
$title = get_the_title();
$url = urlencode( get_permalink() );
$excerpt = wp_trim_words( get_the_content(), 40 );
$thumbnail = get_the_post_thumbnail_url( 'full' );
$author_id=$post->post_author;
$author = get_the_author_meta( 'display_name' , $author_id );
// Swap your svg code
$icon = '';
$extra_icons = array(
'' . $icon . '',
);
// combine the two arrays
$social_links = array_merge($extra_icons, $social_links);
return $social_links;
}
add_filter('add_social_icons', 'add_extra_icons');
You can add prefix text like this
function prefix_text($content) {
$content = 'Social Share This';
return $content;
}
add_filter( 'add_social_prefix', 'prefix_text' );
All texts and images on this product page are protected by copyright and are the property of the author West Coast Digital. You will be redirected to the retailer to download the plugin. We act solely as a search engine for plugins and are not affiliated with the retailer or West Coast Digital.
No results available
ResetNo results available
ResetNo results available
ResetNo results available
ResetNo results available
ResetNo results available
ResetNo results available
ResetNo results available
ResetNo results available
ResetNo results available
ResetNo results available
ResetNo results available
ResetNo results available
ResetNo results available
ResetNo results available
ResetNo results available
Reset