[WordPress] 外掛分享: Social Dropdown

首頁外掛目錄 › Social Dropdown
30+
安裝啟用
尚無評分
6279 天前
最後更新
問題解決
WordPress 1.5+ v2.0.1 上架:2007-12-16

內容簡介

此外掛顯示幾個社交書籤選項在下拉式選單中。不像其他社交書籤顯示,這不會造成雜亂。版本 2.0 的新功能包括全新的外觀,更易於使用,並且非常適合搜尋引擎。然而,如果你不喜歡新版佈局,你可以通過管理面板繼續使用舊版佈局。新版佈局應與大多數佈局相匹配。新版本還考慮到不支援JavaScript的用戶,並且可以優雅地降級以允許非JavaScript用戶使用除下拉式選單以外的所有功能。與外部“Bookmark and Share API”的集成允許您的博客用戶享受到所有可用的書籤,即使您未將插件升級到2.0版以上。支援的社交書籤有 BlinkBits、BlinkList、BlogLines、BlogMarks、Buddymarks、BumpZee、CiteULike、Co.mments、Del.icio.us、Digg、Diigo、Facebook、Fark、Faves、Feed Me Links、Furl、Gravee、Google Bookmarks、Hugg、Jeqq、Linkagogo、Ma.gnolia、Mister Wong、NetVouz、Newsvine、OnlyWire、Propeller、RawSugar、Reddit、Rojo、Simpy、Slashdot、Sphinn、Spurl、Squidoo、StumbleUpon、Taggly、Tagtooga、TailRank、Technorati、Windows Live、Yahoo MyWebs。此外,您可以自定義書籤的順序或選擇刪除其中一些而無需編輯文件。如果您不喜歡下拉式選單,此外掛有顯示書籤且不含下拉式選單的功能-類似於其他外掛顯示的方式。請務必閱讀自述文件以確保您已完成所需的操作。 更新步驟如下:1.停用「Social Dropdown」外掛。在更新時,您可能需要備份現有的外掛文件以防有任何錯誤。2.替換位於WordPress外掛目錄中的「social-dropdown」目錄中的文件。3.從管理儀表板重新啟用「Social Dropdown」外掛。如果您修改了「GenerateAll()」功能,請複製修改的區域,然後設置```$override```參數。

外掛標籤

開發者團隊

⬇ 下載最新版 (v2.0.1) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Social Dropdown」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

This plugin displays several social bookmarking options in a dropdown. Unlike other social bookmarking displays, this does not cause clutter.
Whats new in 2.0
Version 2.0 features a new fresh look which is much easier to use and is extremely search engine friendly. Nonetheless, if you do not like the new layout, you can always use the old one via the administration panel. The new layout should go well with most layouts.
The new version also takes into consideration of non-JavaScript users and would downgrade gracefully to allow non-JavaScript users to utilize every other feature (exception of dropdown).
Integration with an external Social Bookmarking API allows your blog users to enjoy all bookmarks that are available even if you have not upgraded your plugin past version 2.0.
Supported Social Bookmarks

BlinkBits

BlinkList

BlogLines

BlogMarks

Buddymarks

BumpZee

CiteULike

Co.mments

Del.icio.us

Digg

Diigo

Facebook

Fark

Faves

Feed Me Links

Furl

Gravee

Google Bookmarks

Hugg

Jeqq

Linkagogo

Ma.gnolia

Mister Wong

NetVouz

Newsvine

OnlyWire

Propeller

RawSugar

Reddit

Rojo

Simpy

Slashdot

Sphinn

Spurl

Squidoo

StumbleUpon

Taggly

Tagtooga

TailRank

Technorati

Windows Live

Yahoo MyWebs

In addition, you can customize the order of the bookmarks or choose to remove some of them without editing a file.
If you do not like Dropdowns, this plugin has the ability to show the bookmarks without the dropdown – similar to what other plugins display.
Remember to read the readme file to ensure that you have done what is needed.
Updating
You can check what version the plug-in is at via visiting the Options > Social Dropdown panel.

Deactivate the Social Dropdown plug-in. You may want to back-up your existing plug-in files just in case if there are any errors while updating.

Replace the files in the social-dropdown directory located in the WordPress plug-ins directory.

Re-activate the Social Dropdown plug-in from the administration dashboard.

If you have modified the GenerateAll() function, copy the modified area and set $overrideoptions to true to preserve your changes. $overrideoptions can be found in generatebookmarks.php.
Requirements

A working WordPress install

Your WordPress theme must contain a call to the get_header() function

Your WordPress theme must contain the WordPress loop

Most WordPress installs and templates have these, so you need not worry about these.
To be able to use the dropdown, one must have JavaScript enabled in the browser.
Fortunately, users without JavaScript enabled will see a list of social bookmarks at where the dropdown is.
Customizing
Within socialdropdown.php, these are some areas you can edit to influence how the dropdown appears.
In the GenerateAll() function, you can re-arrange how the items appear, add new items or remove them (after setting $overrideoptions to true). You can already do this using the Options > Social Dropdown panel.
Creating bookmarks
Each social bookmark is generated using the GenerateLink() function, and the URLs used are created using the GenerateURL() function. The parameters are as followed: GenerateLink($type), where $type is the name of the social bookmark (e.g. Digg is represented as ‘digg’).
In order to add a new bookmark, add the following lines of code after an item [i.e. after break;] in the GenerateURL() function. An example is shown:
case '[name of social bookmarking site]':

?>

[URL to social bookmark page]

延伸相關外掛

文章
Filter
Apply Filters
Mastodon