Add social icons to your WooCommerce emails.
Author: | Luiz Bills (profile at wordpress.org) |
WordPress version required: | 4.0 |
WordPress version tested: | 6.0.1 |
Plugin version: | 2.1.1 |
Added to WordPress repository: | 27-06-2016 |
Last updated: | 10-08-2022 |
Rating, %: | 100 |
Rated by: | 4 |
Plugin URI: | |
Total downloads: | 4 495 |
Active installs: | 100+ |
Click to start download
|
Add social icons to your WooCommerce emails.
SETUP
Go to WooCoomerce > Settings > Emails to configure the plugin.
USEFUL LINKS
Github: https://github.com/luizbills/social-icons-for-woocommerce-emails
Screenshots
Default icons appearance
WooCoomerce > Settings > Emails page
FAQ
How I can add/remove social networks?
Yes. Use the filter hook siwce_social_links
.
Example:
// add this to your functions.php
add_filter( 'siwce_social_links', '__add_vk_wc_emails' );
function __add_vk_wc_emails( $icons ) {
$icons['vk'] = 'VK';
return $icons;
}
How I can add/change an icon image?
Use the filter hook siwce_icon_image_uri
.
Example:
// add this to your functions.php
add_filter( 'siwce_icon_image_uri', 'yourprefix_change_facebook_icon', 10, 2 );
function yourprefix_change_facebook_icon( $uri, $icon_id ) {
if ( $icon_id == 'facebook' ) {
$uri = get_stylesheet_directory_uri() . '/path/to/your/facebook_icon.png';
}
return $uri;
}
ChangeLog
2.1.1
- Some fixes
- Bump Tested up to
2.1.0
- removed Google+ support, since it not exists anymore
- changed plugin license to GNU General Public License v3.0
2.0.4
- compatibility with woocommerce pre-update extension version check
2.0.3
2.0
- feature: option to add a text before of the icons.
- feature: simplified the size of icons (now is just 1 option, instead of two)
- feature: translated to pt-BR
- fix: several values have been sanitized
1.0