跳到内容

Webshare

v1.2.7

Sami Keijonen · 2014年3月8日 上架

Adds social sharing icons.

正在使用
30+
评分
5.0 / 5
累计下载
4,832
最近更新
2015年5月7日
3 条评价需要 WordPress 3.9+已测试到 4.2.39

贡献者

截图

Webshare after content
Webshare after content

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. You can
get Mina olen theme from here.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums