Title: Webshare
Author: Sami Keijonen
Published: <strong>2014 年 3 月 8 日</strong>
Last modified: 2015 年 5 月 6 日

---

搜索插件

![](https://ps.w.org/webshare/assets/banner-772x250.jpg?rev=872363)

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://s.w.org/plugins/geopattern-icon/webshare_fafafa.svg)

# Webshare

 作者：[Sami Keijonen](https://profiles.wordpress.org/samikeijonen/)

[下载](https://downloads.wordpress.org/plugin/webshare.1.2.7.zip)

 * [详情](https://cn.wordpress.org/plugins/webshare/#description)
 * [评价](https://cn.wordpress.org/plugins/webshare/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/webshare/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/webshare/#developers)

 [支持](https://wordpress.org/support/plugin/webshare/)

## 描述

Webshare is another social sharing plugin but it only displays sharing links with
Genericon fonts. So it’s lightweight.

#### Plugin usage

When you activate the plugin social sharing appears after singular post. You can
drag and drop social icons in
 different order under Settings >> Webshare.

There you can choose under which post types you want social icons to appear or do
you want to disable some of them.

Add Twitter username in your profile page (called Twitter Username) if you want 
to show it when sharing to twitter.

#### Theme support

If you want to set location where social sharing appears, load Genericons and handle
the CSS in your theme, add this code in your themes `functions.php`.

    ```
    /* Webshare plugin support. This means that theme handles the CSS and location of websharing already. */
    add_theme_support( 'webshare', array( 'styles' => true ) );
    ```

Then add this code in your themes template file where you want webshare to appear.

    ```
    <?php 
    if ( function_exists( 'webshare' ) ) {
        webshare(); // Sharing icons.
    }
    ?>
    ```

#### Demo

You can see the demo in [Mina olen demosite](https://foxland.fi/demo/minaolen/template-sticky/).
You can
 get Mina olen theme from [here](https://foxland.fi/downloads/mina-olen/).

## 屏幕截图

 * [[
 * Webshare after content

## 安装

 1. Upload `webshare` to the `/wp-content/plugins/` directory.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress.

## 常见问题

  Is there any settings in this plugin?

No. You can only add Twitter username in your profile page.

  Does social sharing automatically appear after or before content?

Not at the moment. I think about adding social sharing after content.

## 评价

![](https://secure.gravatar.com/avatar/815dcf8541d4a0f3330b14ea12f96fb1df6a7ec1287d527e62d26f593f7b1625?
s=60&d=retro&r=g)

### 󠀁[Simple Social Sharing Buttons](https://wordpress.org/support/topic/simple-social-buttons-3/)󠁿

 [David Chandra Purnama](https://profiles.wordpress.org/turtlepod/) 2016 年 9 月
3 日 1 回复

It’s a good sharing plugin without “fat”. It’s lean and minimal and easy to use 
too. Nothing else matters. Several (maybe) improvement that can be implemented: –
no genericons. this plugin only use several icons but uses genericons which is a
large icon font library. – no autosave on drag and drop icons. It’s redundant because
the settings page have a “save” button. it’s probably better to save when clicking“
save” instead of partially save the order and different mechanism to save other 
settings.

 [ 阅读所有3条评价 ](https://wordpress.org/support/plugin/webshare/reviews/)

## 贡献者及开发者

「Webshare」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Sami Keijonen ](https://profiles.wordpress.org/samikeijonen/)

[帮助将「Webshare」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/webshare)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/webshare/)，查看[SVN仓库](https://plugins.svn.wordpress.org/webshare/)，
或通过[RSS](https://plugins.trac.wordpress.org/log/webshare/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/webshare/)。

## 更新日志

#### 1.2.7

 * Fix: Security update for XSS security flaw.

#### 1.2.6

 * Fix sanitize callback function, yes again.

#### 1.2.5

 * Fix incorrect sanitize callback function.
 * Serbian language files added.

#### 1.2.4

 * Fix incorrect path to genericon CSS file.
 * Use the_title_attribute in title.

#### 1.2.3

 * Tested up to WP 4.0.
 * Compress CSS files.
 * Update language files.

#### 1.2.2

 * Fixed a small bug in Genericons.

#### 1.2.1

 * Update Genericons to version 3.1.

#### 1.2

 * Setting page added under Settings >> Webshare.
 * You can now drag and drop social icons in the order you want.
 * You can disable social icons.
 * You can choose under which post types you want social icons to appear.
 * When you uninstall the plugin database settings are deleted.

#### 1.1.1

Add screenshot.

#### 1.1

 * Social sharing appears now automatically after post if you don’t add support 
   for your theme.

Social sharing

#### 1.0.0

 * Everything’s brand new.

## 额外信息

 *  版本 **1.2.7**
 *  最后更新：**11 年前**
 *  活跃安装数量 **30+**
 *  WordPress 版本 ** 3.9 或更高版本 **
 *  已测试的最高版本为 **4.2.39**
 *  语言
 * [English (US)](https://wordpress.org/plugins/webshare/)
 * 标签
 * [genericons](https://cn.wordpress.org/plugins/tags/genericons/)[sharing](https://cn.wordpress.org/plugins/tags/sharing/)
   [social](https://cn.wordpress.org/plugins/tags/social/)
 *  [高级视图](https://cn.wordpress.org/plugins/webshare/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  3 条 5 星评价     ](https://wordpress.org/support/plugin/webshare/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/webshare/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/webshare/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/webshare/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/webshare/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/webshare/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/webshare/reviews/)

## 贡献者

 *   [ Sami Keijonen ](https://profiles.wordpress.org/samikeijonen/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/webshare/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=E65RCFVD3QGYU)