[WordPress] 外掛分享: Async Social Sharing

WordPress 外掛 Async Social Sharing 的封面圖片。

前言介紹

  • 這款 WordPress 外掛「Async Social Sharing」是 2012-04-30 上架。
  • 目前有 200 個安裝啟用數。
  • 上一次更新是 2014-06-25,距離現在已有 3966 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
  • 有 12 人給過評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

rachelbaker |

外掛標籤

social | sharing | twitter | facebook | hackernews |

內容簡介

簡單的社交分享插件,可以異步載入第三方腳本
並在頁面加載後,以提高網站效能。

插件提供設置,可以載入以下任一分享小工具:

Twitter
Facebook
Google+
Linkedin
Hacker News

可用的顯示選項包括在頁面上方或下方,以及指定自訂文章類型、部落格和存檔頁面顯示分享小工具。

異步腳本加載為何更好?
異步加載可以讓多個檔案彼此並行加載。
而不是等待 Twitter 回應他們的腳本,瀏覽器會繼續進行下一個請求。

依賴項

WordPress 3.5+
值得分享的內容

歡迎貢獻者

在 Github 上提交 pull request

即將推出的版本願望清單

允許重新排列社交小工具

致謝

參考自 Stoyan Stefanov 的博客文章《Social Button BFFs》
HackerNews 按鈕代碼由 Ilya Grigorik 提供

作者

Rachel Baker

1.8.1

更改類別初始化方式,以修正插件導致 PHP 5.2 及以下版本致命錯誤的問題。
為 Facebook 分享小工具對齊添加較小的樣式修復。

1.8.0

新增 async_social_display() 函式,可用作模板標籤,在循環內的任何地方輸出社交分享小工具,供主題開發人員使用。
新增選項,允許網站管理員輸入其 Facebook 應用程式 ID。
新增選項,允許網站管理員選擇社交分享小工具在內容前還是後輸出。感謝 @dustyf。
更改設置畫面,使用 WordPress 的預設管理員樣式,以修正 WordPress 3.8+ 中的核取方塊顯示問題。
移除冗長的管理員樣式表。
載入插件實例的次要重構。
次要程式碼格式變更。

1.7.1

修正問題,當插件啟用時因主要插件檔案頂部有空白行造成“標頭已送出”錯誤訊息。
啟用 WordPress 3.7 用戶的自動插件更新。

1.7.0

新增選項,允許顯示或隱藏文章的社交分享小工具。
重新結構文件組織。
測試 3.7 的兼容性。

1.6.2

修正問題,以前的插件用戶無法禁用 CSS,除非移除並重新添加插件。
更新兼容性以支援 3.5。

1.6.1

修正問題,如果指定選項,則頁面上的小工具不會顯示。
修正問題,以前的安裝仍然載入 CSS 樣式,即使選擇了禁用選項。
擴大插件選項頁面中的文章類型多選框區域。
添加插件選項頁面中選擇多個文章類型的說明。

原文外掛簡介

Simple social sharing plugin that loads the third-party scripts asynchronously
and after the page loads to improve site performance.
The plugin provides settings to load any of the following sharing widgets:

Twitter
Facebook
Google+
Linkedin
Hacker News

Available display options include ability to display the sharing widgets on
above or below content on pages, specific custom post types or blog and archive pages.
Why is Asynchronous script loading better?
Asynchronous loading allows multiple files to load parallel to each other.
Instead of having to wait for Twitter to respond with their script, the browser
moves on and starts fetching the next request.
Dependencies

WordPress 3.5+
Content worth sharing

Contributors Welcome

Submit a pull request on Github

Upcoming Versions Wishlist

Allow re-arranging of social widgets

Credits

Inspired by Stoyan Stefanov’s blog post “Social Button BFFs”
HackerNews button code by Ilya Grigorik

Author

Rachel Baker

1.8.1

Fixed bug where plugin would cause a fatal error for PHP 5.2 and under by
changing class initialization process.
Added minor style fix for Facebook sharing widget alignment.

1.8.0

Added async_social_display() function to be used as a template tag to output
the social sharing widgets anywhere theme developers desire within the loop.
Added option to allow site administrators to enter their Facebook Application
ID.
Added option allowing site administrators to choose if the social sharing
widgets should be output before or after the content. props @dustyf
Changed settings screen to use WordPress default admin styles to fix checkbox
display in WordPress 3.8+.
Removed bloated admin stylesheet.
Minor refactoring of plugin instance loading.
Minor code formatting changes.

1.7.1

Fixed bug where “headers already sent” message was displayed upon plugin
activation due to blank line at top of main plugin file.
Enabled automatic plugin updates for WordPress 3.7 users.

1.7.0

Added option to display or hide sharing widgets from posts.
Restructured file organization.
Tested compatibility with 3.7

1.6.2

Fixed bug where previous plugin users could not disable the css without
removing and then re-adding the plugin.
Updated compatibility to support 3.5

1.6.1

Fixed bug where widgets were not displaying on pages if option was specified.
Fixed bug where CSS styles for previous installations was still loading,
even though the option to disable was selected.
Expanded post-type multi-selection box area on plugin options page.
Added instructions for selecting multiple post types from plugin options page.
Tested with WordPress 3.5 RC2

1.6

Added option to prevent default CSS stylesheet from loading.
Fixed bug where PHP Exception was thrown if post types array was empty.
Tested with WordPress 3.5 Beta 3

1.5.1
Fixed bug that would cause content in RSS feeds to not display.
Fixed bug where PHP Exception was thrown on pages if the display options were
not set.
1.5.0

Added ability to display social widgets on pages.
Added ability to select which custom post types will display the social
widgets.
Reworked async-share.js file. Now only the external social scripts that are
selected to be displayed will be loaded.
Improved display styles for social widgets.

1.2.0

Combined function for plugin’s script and style loading.
Fixed bug that was generating a PHP error when no options were set.
Tested with WordPress 3.4.1

1.1.0

Added Display Options to plugin to allow sharing widgets to be displayed on
blog and archive pages.
Fixed bug with Facebook fb-root div not being detected before script loaded.
Updated license to GPLv3

1.0.1

Added lazy loading to async-share.js
Fixed issue with plugin settings link

1.0

Initial release

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Async Social Sharing」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


1.0.1 | 1.1.0 | 1.2.0 | 1.5.0 | 1.5.1 | 1.6.0 | 1.6.1 | 1.6.2 | 1.7.0 | 1.7.1 | 1.8.0 |

延伸相關外掛(你可能也想知道)

  • Facebook for WooCommerce 》這是官方版的「Facebook for WooCommerce」外掛,可將你的 WooCommerce 網站與 Facebook 連接。藉由此外掛,你可以安裝 Facebook 的像素碼、上傳你的線上商店...。
  • Meta pixel for WordPress 》這個外掛會為你的網頁安裝一個 Meta Pixel,這樣你就可以捕捉使用者與你的網頁溝通互動時所執行的動作,例如:產生潛在客戶、檢視內容、加入購物車、開始結帳...。
  • Nextend Social Login and Register 》ge and registration form, link the social accounts to the existing WordPress user accounts or create new users if necessary, enable users to link t...。
  • Smash Balloon Social Post Feed – Simple Social Feeds for WordPress 》此外掛可以在您的 WordPress 網站上顯示 Facebook 文章,且完全可定制、響應式、可被搜尋引擎檢索和符合 GDPR 規範。您可以從您的 Facebook 粉絲專頁或 Faceb...。
  • Facebook Chat Plugin – Live Chat Plugin for WordPress 》在您的網站上使用 Messenger 聊天與客戶溝通。Chat Plugin 是由 Meta Business 維護的聊天小工具,可在您的網站上提供即時聊天。, 網站訪客不論使用電腦或手...。
  • Open Graph and Twitter Card Tags 》此外掛可增進你的 WordPress 頁面、文章、WooCommerce 商品或任何其他文章類型在社群媒體上的分享,透過設定正確的 Facebook Open Graph 標籤。, 此外掛也允...。
  • Simple Share Buttons Adder 》Simple Share Buttons Adder 是一款可以在所有文章和頁面中添加分享按鈕的外掛,正如其名,它非常簡單易用。, 新的“現代分享按鈕”選項卡是基於 CSS 的設置,...。
  • Social Media Widget 》快來查看適用於您網站的 WordPress 最新優惠。, 社交媒體小工具是一個簡單的側邊欄小工具,允許用戶輸入他們的社交媒體網站個人資料網址和其他訂閱選項,顯示...。
  • OG — Better Share on Social Media 》毫不設定,功能強大。, 我們相信這個外掛對於初學者來說是最好的選擇,因為它不需要設定,只需安裝並啟用它 - 所有的神奇都將被完成!。
  • Feed Them Social – Social Media Feeds, Video, and Photo Galleries 》輕鬆地創建和展示可自定義的 Instagram、Facebook、Twitter 或 YouTube 社交饗宴。在桌面、平板電腦和移動設備上具有響應式設計。, 功能, , 快速安裝和設置。...。
  • Social Media Feather | social media sharing 》WordPress Social Media Feather(翻譯:WordPress 社交媒體羽毛)是一個輕量級免費的社交媒體 WordPress 外掛,讓你可以快速而無痛地將社交分享和追蹤功能添...。
  • miniOrange Social Login and Register (Discord, Google, Twitter, LinkedIn) 》WordPress Social Login 外掛讓使用者可以透過廣泛使用的社交應用程式如 Facebook、Google、LinkedIn、Twitter、Apple、Discord、Twitch、Line、Wechat 及另...。
  • Genesis Simple Share 》Genesis Simple Share是專為Genesis子佈景主題而設計的簡單易用的外掛程式。我們致力於讓預設選項和初始設定變得非常簡單實用。, 預設設定應該會自動啟用文章...。
  • 10Web Social Post Feed 》10WebSocial, 這是一個 WordPress 外掛的名稱,沒有翻譯內容。。
  • Tagembed: Embed Twitter Feed, Google Reviews, YouTube Videos, TikTok, RSS Feed & More Social Media Feeds 》Tagembed 是領先的社交媒體聚合工具,讓使用者聚合、整理和嵌入 Instagram Feed、Twitter Feed、Facebook Feed、YouTube Video、Google Reviews、RSS Feed、L...。

文章
Filter
Apply Filters
Mastodon