
內容簡介
通常由Facebook、Twitter等提供的社交分享代碼會在運行時呈現iframe。這些iframe會增加頁面大小並減慢網站的速度(在客戶端上)。
這個外掛的力量在於它採用非阻塞JavaScript。通常,社交分享鏈接使用iframe輸出它們的內容,例如圖標圖像,分享計數等。這些iframe的加載時間會阻塞頁面加載,因此減慢網站的速度。多個分享鏈接實例(例如,部落格索引)的頁面速度最慢。 rtSocial使用非阻塞JavaScript一次將所有數據獲取並注入標記中。它使用單個精靈圖像,其中包含所有需要的圖像,因此消除了從服務提供商的CDN加載圖像的需要。提供了最小的設置,選擇自動顯示鏈接的選項,並選擇FB按鈕樣式和佈局。一個簡單的功能調用讓您可以在主題的任何位置顯示鏈接!
使用從運行WordPress的服務器加載的1個圖像(CSS-sprite)、1個JavaScript和1個CSS文件;對於類似Facebook/Twitter的網站,在頁面加載完成後使用AJAX請求獲取計數。
支持的社交媒體
Facebook
Twitter
LinkedIn
Pinterest
有用的鏈接
rtSocial外掛的主頁
免費支援論壇
外掛標籤
開發者團隊
📦 歷史版本下載
原文外掛簡介
Normally social sharing codes provided by facebook, twitter, etc renders iframes at run-time. These iframes increases page-size and slow-down your website (on client-side).
The power of this plugin lies in non-blocking JavaScript. Normally social sharing links use iframes to output their content viz. icon images, share counts etc. The load time of these iframes block the page load, and hence slow down the site. The slowest is on pages with multiple instances of sharing links (e. g. blog indexes). rtSocial uses non blocking JavaScript to get all the data in one shot, and injects them in the mark-up. And it uses a single sprite with all the images required, hence eliminating the need to load the images from the service provider’s CDN. Comes with minimal settings, options to display the links automatically above and below the content, choose FB button styles and layouts. A simple function call lets you to display the links anywhere in your theme!
With just 1 image (CSS-sprite), 1 JavaScript and 1 CSS file loaded from WordPress-running server; counts are fetched using AJAX request for sites like facebook/twitter after page loading finishes.
Supported Social Channels
Facebook
Twitter
LinkedIn
Pinterest
Useful Links
rtSocial Plugin’s Homepage
Free Support Forum
