內容簡介
Naked Social Share 允許您在每件文章後插入簡單且未經風格化的社交分享按鈕,包括 Twitter、Facebook、Pinterest、StumbleUpon 和 Google+。這些圖示沒有任何樣式,因此您作為設計師可以根據您的主題風格化按鈕。
設置面板中有一些簡單的選項:
載入預設樣式 - 包括一個簡單的樣式表,對按鈕應用一些最基本的樣式。
載入 Font Awesome - Naked Social Share 使用 Font Awesome 提供社交分享圖示。
禁用 JavaScript - 使用少量 JavaScript 使按鈕在點擊時在新的彈出窗口中打開。
自動添加按鈕 - 您可以選擇自動在博客文章或頁面下方添加社交圖示。
Twitter 控制代碼 - 添加您的 Twitter 控制代碼以在 Tweet 中包含 "via @YourHandle" 消息。
社交媒體網站 - 更改按鈕出現次序並禁用您不需要的按鈕。
如果您想在您的佈景主題中手動顯示圖示,請在您想要圖示出現的地方加入以下代碼:
<?php naked_social_share_buttons(); ?>
外掛標籤
開發者團隊
📦 歷史版本下載
原文外掛簡介
Naked Social Share allows you to insert plain, unstyled social share buttons for Twitter, Facebook, Pinterest, StumbleUpon, and Google+ after each post. The icons come with no styling, so that you — the designer — can style the buttons to match your theme.
There are a few simple options in the settings panel:
Load default styles – This includes a simple stylesheet that applies a few bare minimum styles to the buttons.
Load Font Awesome – Naked Social Share uses Font Awesome for the social share icons.
Disable JavaScript – There is a small amount of JavaScript used to make the buttons open in a new popup window when clicked.
Automatically add buttons – You can opt to automatically add the social icons below blog posts or pages.
Twitter handle – Add your Twitter handle to include a “via @YourHandle” message in the Tweet.
Social media sites – Change the order the buttons appear in and disable any you don’t want.
If you want to display the icons manually in your theme, do so by placing this code inside your theme file where you want the icons to appear:
