Това разширение не е обновявано повече от 2 години. Може вече да не се поддържа и да има проблеми със съвместимостта при използването му на по-нови версии на WordPress.

Social Icons for WooCoomerce Emails

Описание

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

Снимки на разширението

  • Default icons appearance

  • WooCoomerce > Settings > Emails page

Инсталиране

  1. Upload the plugin files to the /wp-content/plugins/social-icons-for-wc-emails directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress.
  3. Go to WooCoomerce > Settings > Emails to configure the plugin.

ЧЗВ

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;
}

Отзиви

03.09.2016 1 reply
Sensacional a ideia, atualmente faço isso manualmente nos templates de email. Parabéns…
Прочетете всички 4 отзива

Сътрудници и разработчици

“Social Icons for WooCoomerce Emails” е софтуер с отворен код. Към разширението са допринесли следните хора:

Сътрудници

Превеждане на “Social Icons for WooCoomerce Emails” на вашия език.

Имате интерес към разработване?

Преглеждане на кода, разглеждане на SVN хранилище, или абонамент към програмната история (log) чрез RSS.

Списък с промени

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

  • updated banner and icon

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

  • Initial release.