跳到内容

Social Buttons

v1.0

alexpooley · 2008年5月11日 上架

Selectively add social network buttons to your posts, or theme design.

正在使用
40+
评分
暂无
累计下载
1.1 万
最近更新
2008年5月18日
需要 WordPress 2.0.2+已测试到 2.2.5

贡献者

Selectively add social network buttons such as digg, sphinn, etc to your posts or theme design.

I wrote this plugin because I wanted finer control over where and which buttons
were placed on my site and in my posts.

Sometimes I have marketing posts so I want to link to Sphinn, but sometimes I have
technical posts so Reddit would be a better choice. This plugin is flexible enough that
if you want the same button in every post, then you can still modify your theme very easily
to accomplish this.

You may place as many buttons, in as many places in your posts as you like.

This plugin handles:
– Digg
– Reddit (all button styles)
– Delicious
– Sphinn
– Dzone (all button styles)
– StumbleUpon

For Your Posts

Use the following in your posts: [SB button 1, …, button N]

Here’s an example post…

Hey, check out my new buttons!
Here they are: [SB digg, delicious, reddit]
And look
Here's some more:

[SB reddit, sphinn]

The different button types are:
– digg
– delicious
– reddit
– reddit1 (same as reddit)
– reddit2
– reddit3
– sphinn
– dzone
– dzone1 (same as dzone)
– dzone2
– stumbleupon
– stumble (same as stumbleupon)

For Your Themes

<?php echo sb_make_button('digg', 'http://www.alexpooley.com') ?>
<?php echo 'I'm in a post now:'.sb_make_button('reddit', get_permalink()) ?>

Plums

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

导航

说明

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

© 2026 Plums