
內容簡介
沒有人喜歡長時間的載入時間,但我們都希望能夠透過 Facebook、Twitter 和其他社交網路分享我們的內容。這些社交網路卻需要很長的載入時間。矛盾?不再!使用 WPSocialite(利用 David Bushell 的驚人 SocialiteJS 外掛 [http://www.socialitejs.com/]),我們可以管理社交分享連結的載入過程。當滑鼠移到連結上、在網頁滾動時等等方式載入它們!
範本標籤
<?php
$args = array(
'size' => 'large',//選擇要顯示哪個尺寸的按鈕。
'url' => 'http://google.com', //使用這個來覆寫傳送到 WPSocialite 的 URL。不建議在迴圈中使用。
'button_override' => 'facebook,twitter-share,twitter-follow,pinterest,linkedin,gplus,stumbleupon' //用於覆蓋顯示的按鈕。根據需要添加和刪除。
);
wpsocialite_markup( $args ); ?>
短碼
[wpsocialite size="small" url="http://google.com" button_override="facebook,twitter-share,twitter-follow,pinterest,linkedin,gplus,stumbleupon"]
外掛標籤
開發者團隊
原文外掛簡介
No one likes long load times, but we all want to be able to share our content via Facebook, Twitter, and other social networks. These take a long time to load. Paradox? Not anymore! With WPSocialite (utilizing David Bushell’s amazing SocialiteJS plugin [http://www.socialitejs.com/]) we can manage the loading process of our social sharing links. Load them on hover, on page scroll, and more!
Template Tag
'large', //choose which size buttons to display.
'url' => 'http://google.com', //use this to override the url that is sent to WPSocialite. Not recommended to use in loop.
'button_override' => 'facebook,twitter-share,twitter-follow,pinterest,linkedin,gplus,stumbleupon' //used to override buttons that are displayed. Add and remove as needed.
);
wpsocialite_markup( $args ); ?>
Shortcode
[wpsocialite size="small" url="http://google.com" button_override="facebook,twitter-share,twitter-follow,pinterest,linkedin,gplus,stumbleupon"]
