[WordPress] 外掛分享: No JS Social Sharing

首頁外掛目錄 › No JS Social Sharing
10+
安裝啟用
★★★★★
5/5 分(1 則評價)
309 天前
最後更新
問題解決
WordPress 5.0+ PHP 7.0+ v1.2 上架:2021-06-01

內容簡介

這個外掛程式提供社交媒體圖示,讓你可以輕易地分享文章,而且不會有追蹤、登入或其他不必要的腳本。

這個外掛程式的設計主要考量是為了讓你的文章擁有社交媒體圖示,同時滿足 Google Page Speed 分數的要求。其他外掛程式可能會載入需要「刪除未使用的JavaScript」、「移除阻止渲染的資源」或「減少JavaScript執行時間」等標記。但是這個外掛程式不會在前端載入任何JavaScript,只會在你的頁面上載入社交媒體圖示和少量樣式字串,當然如果你不想要的話,也可以不載入。

你可以選擇在任何地方都不要自動顯示圖示(在設定中選擇「None」),改用短碼:

[njss text="Share this post on:" networks="facebook,twitter,pinterest,email" icon_size="32"]

這個外掛程式目前只內建了Facebook、Twitter、Pinterest和電子郵件的圖示。

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.2) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「No JS Social Sharing」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

No tracking, no logins, no extracurricular scripts. This plugin provides social media icons to share your post without the BS.
This plugin is designed for the pure purpose of having social media icons above and/or below your posts with Google’s Page Speed score in mind. Other plugins load scripts that lead to “Remove unused Javascript”, “Eliminate render-blocking resources”, or “Reduce JavaScript execution time” flags. This plugin will not load any javascript on the front-end and will only load the social media icons and a short string of styles to your page – unless you don’t want it to.
You can also choose to not automatically show the icons anywhere (choose “None” for placement in the settings) and instead use a shortcode:
[njss text="Share this post on:" networks="facebook,twitter,pinterest,email" icon_size="32"]

This plugin currently only has Facebook, Twitter, Pinterest, and email built in.

延伸相關外掛

文章
Filter
Mastodon