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

Social Buttons

描述

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()) ?>

安装

This section describes how to install the plugin and get it working.

e.g.

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

There are so many other social networks that I could add to this plugin. If you want something
added then please contact me through my blog.

Enjoy!

常见问题

Please feel free to ask questions by contacting me through my blog.

评价

此插件暂无评价。

贡献者及开发者

“Social Buttons” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“Social Buttons”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志