前言介紹
- 這款 WordPress 外掛「Smol Links」是 2022-10-25 上架。
- 目前有 40 個安裝啟用數。
- 上一次更新是 2024-07-30,距離現在已有 277 天。
- 外掛最低要求 WordPress 4.5 以上版本才可以安裝。
- 外掛要求網站主機運作至少需要 PHP 版本 7.0 以上。
- 尚未有人給過這款外掛評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
dphiffer |
外掛標籤
內容簡介
這個外掛程式正在建置當中,開發工作仍在不斷進行中。
這個 WordPress 儀表板介面可供管理自行託管的Shlink URL 縮短器。
從管理介面建立並編輯 Shlinks 的短網址
選用選項,在新增文章時自動產生新的短網址
管理多個短網址,並分配一個預設網址
自動為每個短網址設定標籤,可使用過濾器勾選進行設定
自動調整長網址重新導向,並使用過濾器勾選進行自訂(例如加入查詢引數)
如已安裝,可與WordPress Sentry外掛相整合
過濾器勾選
smol_links_tags – 為每個已儲存的短網址指派標籤(預設:["smol-links-server:$hostname", "smol-links-user:$username"])
smol_links_long_url – 自動調整長網址重新導向
smol_links_manager_tabs – 自訂管理者標籤(陣列:[“標籤標籤” => [Shlink API 查詢]])
開發人員安裝
開發相依性資訊:
Node.js(測試版本為 v16)
Docker Desktop
建置並啟動:
./bin/build.sh
./bin/start.sh
運行測試:
docker-compose exec web composer --working-dir="/var/www/html/wp-content/plugins/smol-links" test
原文外掛簡介
A WordPress dashboard interface for managing a self-hosted Shlink URL shortener instance.
Create and edit Shlinks short links from a manager interface
Optionally generate new short URLs upon saving new posts
Manage multiple short URL domains, with an assigned default
Automatically tag each short link, configurable with a filter hook
Customize long URLs automatically using a filter hook (e.g., to add query arguments)
Integrates with WordPress Sentry plugin, if installed
Filter hooks
smol_links_tags – assigns tags to each saved short link (default: ["smol-links-server:$hostname", "smol-links-user:$username"])
smol_links_long_url – automatically adjust the long URL redirect
smol_links_manager_tabs – customizes the manager tabs (array: [“Tab label” => [Shlink API query]])
Developer setup
Developer dependencies:
node.js (tested on v20)
Docker Desktop
Build and start:
./bin/build
./bin/start
Running tests:
docker compose exec web composer --working-dir="/var/www/html/wp-content/plugins/smol-links" test
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Smol Links」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
0.1.0 | 0.1.1 | 0.2.0 | 0.3.0 | 0.3.1 | 0.4.0 | 0.4.1 | 0.4.2 | trunk |
延伸相關外掛(你可能也想知道)
暫無相關外掛推薦。