| 开发者 | lihidev |
|---|---|
| 更新时间 | 2026年6月23日 13:31 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.0 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
lihi Short URL integrates the lihi short-link service into the WordPress admin. With one click on a "lihi" button next to any post, page, custom post type, or media item, the plugin asks the lihi service for a short URL (creating one on first use, reusing it on subsequent clicks) and copies it to the clipboard. This plugin is open source and maintained at weedgood/lihi-wp-plugin.
The plugin runs only inside wp-admin; it adds no front-end output and enqueues no scripts on public pages.
Features
zh_TW).lihi-short-url folder to the /wp-content/plugins/ directory, or install the plugin through the WordPress Plugins screen.manage_options capability to view or change settings. Any logged-in user can use the "lihi" button on screens they are otherwise allowed to access.The UI hooks only register once the plugin is fully configured — both the lihi email and the redirect domain must be set. Open Settings → lihi Short URL to verify the email and choose a redirect domain.
Changing the email clears the cached auth token and the previously selected redirect domain, because both belong to the previous account. After saving a new email and verifying it, choose a redirect domain again on the settings page.
Clear the email field on Settings → lihi Short URL and click Save & Verify. With no email configured the plugin stops registering its admin UI.
No. The plugin returns early on non-admin requests — it only adds admin UI and an admin-ajax.php handler.
All post types registered with public => true, plus the Media Library (both list mode and the grid view's attachment details panel).
Yes — two options (lihi_email, lihi_domain) and one transient (lihi_token). All three are removed when the plugin is deleted from the Plugins screen.
lihi-short-url directory.zh_TW) translation included.