這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 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 訂閱開發記錄