このプラグインは WordPress の最新3回のメジャーリリースに対してテストされていません。もうメンテナンスやサポートがされていないかもしれず、最新バージョンの WordPress で使用した場合は互換性の問題が発生する可能性があります。

Smol Links

説明

This plugin is a work in progress; development is ongoing.

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.sh
./bin/start.sh

Running tests:

docker-compose exec web composer --working-dir="/var/www/html/wp-content/plugins/smol-links" test

スクリーンショット

  • 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.
  • The post editor includes the short URL in the sidebar.

インストール

  1. Upload smol-links folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Configure the Smol Links settings from your WordPress dashboard

評価

このプラグインにはレビューがありません。

貢献者と開発者

Smol Links はオープンソースソフトウェアです。以下の人々がこのプラグインに貢献しています。

貢献者

“Smol Links” をあなたの言語に翻訳しましょう。

開発に興味がありますか ?

コードを閲覧するか、SVN リポジトリをチェックするか、開発ログRSS で購読してみてください。

変更履歴

0.1.0

  • Release to WordPress plugin directory
  • Security improvements

0.0.1

  • Generate short URLs upon saving a post
  • Create/edit short URLs from a manager