跳到内容

Smol Links

v0.4.5

The Markup · 2022年10月26日 上架

Create and manage Shlink short links from WordPress

正在使用
10+
评分
暂无
累计下载
3,296
最近更新
2026年7月1日
需要 WordPress 4.5+已测试到 6.6.12PHP 7.0+

贡献者

截图

Create and manage Shlink short links from WordPress.
Create and manage Shlink short links from WordPress.
Configure your self-hosted Shlink server and optionally generate a short URL whenever a post is published.
Configure your self-hosted Shlink server and optionally generate a short URL whenever a post is published.
The post editor includes the short URL in the sidebar.
The post editor includes the short URL in the sidebar.

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:

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

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums