[WordPress] 外掛分享: GP Social Share

WordPress 外掛 GP Social Share 的封面圖片。

前言介紹

  • 這款 WordPress 外掛「GP Social Share」是 2018-06-13 上架。 目前已經下架不再更新,不建議安裝使用。
  • 目前有 800 個安裝啟用數。
  • 上一次更新是 2021-05-24,距離現在已有 1446 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
  • 外掛最低要求 WordPress 5.5 以上版本才可以安裝。
  • 外掛要求網站主機運作至少需要 PHP 版本 7.2.0 以上。
  • 有 14 人給過評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

westcoastdigital |

外掛標籤

SVG | share | social |

內容簡介

這個外掛使用 hook 來附加社交分享按鈕到你的內容上。

它使用 if_single() WordPress hook 來確保只會在所有單篇文章或包含的 WooCommerce hook 上觸發。

已配置的分享內容:

圖像 = 文章特色圖片 - 全部 URL
標題 = 文章標題
內容 = 內容的前 40 個字
網址 = 文章永久連結

社交媒體頻道

這些是目前外掛支援的社交媒體頻道:
* Facebook
* Twitter
* Pinterest
* LinkedIn
* WhatsApp
* 電子郵件

自定義

如果你想要找到自定義圖示,我建議你到 https://iconmonstr.com 尋找。

使用 Iconmonstr SVG 代碼的方法如下:
1. 搜尋你需要的圖示
2. 點擊你喜歡的圖示
3. 確保選擇了 SVG
4. 同意授權條款
5. 點擊 Embed
6. 確保選擇了 Inline
7. 選擇已顯示的 SVG 代碼
8. 複製並貼上代碼到相應的圖示區塊
9. 在頁面底部點擊保存更改

你可以使用以下函數並根據需要進行修改,以添加更多分享:

function add_extra_icons($social_links) {

$title = get_the_title();
$url = urlencode( get_permalink() );
$excerpt = wp_trim_words( get_the_content(), 40 );
$thumbnail = get_the_post_thumbnail_url( 'full' );
$author_id=$post->post_author;
$author = get_the_author_meta( 'display_name' , $author_id );
// 更換你的 svg 代碼
$icon = '';
$extra_icons = array(
'' . $icon . '',
);

// 合併兩個陣列
$social_links = array_merge($extra_icons, $social_links);

return $social_links;
}
add_filter('add_social_icons', 'add_extra_icons');

你可以像這樣添加前綴文本:

function prefix_text($content) {
$content = 'Social Share This';
return $content;
}
add_filter( 'add_social_prefix', 'prefix_text' );

原文外掛簡介

This plugin uses hooks append social share icons to your content.
It uses the if_single() WordPress hook to ensure only fires on all single posts or the included WooCommerce hooks.
Configured shared content:
Image = post featured Image – full url
Title = post title
Content = the first 40 words of the content
URL = the post permalink
Social Media Channels
These are the social channels currently supported by the plugin
* Facebook
* Twitter
* Pinterest
* LinkedIn
* WhatsApp
* Email
Customisations
If you want to find custom icons, I recommend you check out https://iconmonstr.com
To use Iconmonstr SVG code
1. Search for your required icon
1. Click on the icon you like
1. Ensure SVG is selected
1. Agree to the license conditions
1. Click on Embed
1. Ensure Inline is selected
1. Highlight the displayed SVG code
1. Copy and paste the code into the relevant icon section
1. Save Changes at the bottom of the page
You can add more sharing using the following function and modifying it as required
function add_extra_icons($social_links) {

$title = get_the_title();
$url = urlencode( get_permalink() );
$excerpt = wp_trim_words( get_the_content(), 40 );
$thumbnail = get_the_post_thumbnail_url( 'full' );
$author_id=$post->post_author;
$author = get_the_author_meta( 'display_name' , $author_id );
// Swap your svg code
$icon = '';
$extra_icons = array(
'' . $icon . '',
);

// combine the two arrays
$social_links = array_merge($extra_icons, $social_links);

return $social_links;
}
add_filter('add_social_icons', 'add_extra_icons');

You can add prefix text like this
function prefix_text($content) {
$content = 'Social Share This';
return $content;
}
add_filter( 'add_social_prefix', 'prefix_text' );

各版本下載點

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

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


最新版本

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

  • AddToAny Share Buttons 》WordPress外掛AddToAny Share Buttons有助於讓人們分享你的文章和頁面到任何服務,從而增加流量和參與度。服務包括Facebook、Twitter、Pinterest、WhatsApp、...。
  • Social Media Share Buttons & Social Sharing Icons 》在你的免費測試網站上試試看:點擊此處 => https://tastewp.com/plugins/ultimate-social-media-icons, (這個技巧適用於所有外掛 – 只需在外掛的 WP 存儲庫 ...。
  • Ocean Social Sharing 》這是一個簡單的外掛,可以在您的單一博客文章中添加社交分享按鈕。, 這個外掛需要安裝OceanWP主題。, 主要功能, , 添加社交網絡:Twitter、Facebook、LinkedI...。
  • Social Share Icons & Social Share Buttons 》percharge您的網站社交分享功能,僅需幾個點擊即可使用該外掛。, 在您的免費模擬網站上試用:點擊此處 => https://tastewp.com/plugins/ultimate-social-m...。
  • Social Media Feather | social media sharing 》WordPress Social Media Feather(翻譯:WordPress 社交媒體羽毛)是一個輕量級免費的社交媒體 WordPress 外掛,讓你可以快速而無痛地將社交分享和追蹤功能添...。
  • Genesis Simple Share 》Genesis Simple Share是專為Genesis子佈景主題而設計的簡單易用的外掛程式。我們致力於讓預設選項和初始設定變得非常簡單實用。, 預設設定應該會自動啟用文章...。
  • WPUpper Share Buttons 》免費社交分享按鈕,可分享至Facebook、WhatsApp、Messenger、Twitter、Reddit等等。, 外掛內包含跟蹤我們的按鈕。, , 如果您喜歡這個外掛,歡迎評價它(在此...。
  • WP Socializer – Simple & Easy Social Media Share Icons 》WP Socializer 是一個最佳的社交媒體分享外掛程式,能輕鬆地在您的 WordPress 網站上添加社交分享圖示、黏式/浮動分享列、關注我的社交檔案圖示、行動分享列...。
  • SNS Count Cache 》SNS Count Cache 是一個外掛,通過緩存機制顯示分享和追隨者計數,幫助您縮短頁面加載時間。, 注意事項:, 從 Ver. 0.11.1 或以下版本升級時,在設置頁面中需...。
  • Meks Easy Social Share 》Meks Easy Social Share 最初是作為我們的 Johannes WordPress 主題 的一個功能而創建的外掛程式,但現在它可以在任何 WordPress 網站上使用。, 這款社交分享...。
  • MashShare – Social Media Share Buttons, Social Share Icons 》MashShare - 社交媒體分享按鈕生態系統(使用 Social Network Add-On 支援 Twitter 計數), MashShare 是一款免費的社交媒體分享按鈕外掛程式,專業且高度可...。
  • Superb Social Media Share Buttons and Follow Buttons 》tions provides sufficient control over the appearance and use of the social media share buttons and follow buttons. These buttons are compliant wit...。
  • Seed Social 》將此外掛上傳至 WordPress,並啟用。此外掛會在文章內容下方加入社群分享按鈕。, 你可以透過「設定 → Seed Social」啟用不同的社群網路並更改設定。, Seed So...。
  • Social Sharing Block 》這是一個簡單的區塊,可以讓你在區塊編輯器中加入社交分享圖示。可從 15 個以上的最流行社交網站中選擇。, 分享選項包括:, , Facebook, Flipboard, LINE, Li...。
  • Social Share Boost 》查看最新的 WordPress 外掛優惠。, *新增功能:, * 更多按鈕, * 更多小工具, * 更多自定義選項, 透過自動新增各種社群分享工具,您可以提高社群分享率,並在...。

文章
Filter
Apply Filters
Mastodon