Описание
TLY URL Shortener connects WordPress to the T.LY API so editors can create, regenerate, copy, and manage short links without leaving the dashboard.
Features
- Settings page under
Settings > T.LY - Automatic short-link generation on publish for posts and pages
- Post editor meta box with generate, regenerate, copy, and delete-local actions
- Gutenberg sidebar panel integration
- Manual external-link shortener for selected or pasted external links
- Posts list column and row actions
- Analytics service scaffold for future reporting
Installation
- Upload the plugin folder to
/wp-content/plugins/. - Activate
TLY URL Shortenerfrom the Plugins screen. - Go to
Settings > T.LY. - Add your T.LY API key.
- Optionally set a default short domain and enable the workflows you want.
Hooks used
inittransition_post_statusadmin_menuadmin_initadmin_enqueue_scriptsadd_meta_boxesrest_api_initadmin_post_tlyursh_generate_short_linkadmin_noticesmanage_post_posts_columnsmanage_page_posts_columnsmanage_post_posts_custom_columnmanage_page_posts_custom_columnpost_row_actionspage_row_actions
Filters provided
tlyursh_supported_post_typestlyursh_auto_generate_for_post_typetlyursh_enable_loggingtlyursh_enable_analytics_ui
Updating API behavior
Endpoint paths and response parsing are centralized in:
src/API/TLYURSH_Api_Client.php
If the T.LY API changes, update the ENDPOINTS map and request/response handling there.
Screenshots
- Settings page with API and automation options
- Posts list table with the T.LY link column and row actions
- Post edit screen meta box for copying, regenerating, and shortening links
External Services
This plugin connects to the T.LY API to shorten URLs.
Service: T.LY API
Purpose: URL shortening
Data sent:
- Long URL entered by user
- API key (if configured)
When:
- When user creates a short link
Provider:
T.LY
Terms of Service:
https://t.ly/terms
Privacy Policy:
https://t.ly/privacy
Часто задаваемые вопросы
-
Does uninstall remove post meta?
-
No, not by default. The plugin always removes its options on uninstall. Post meta is only removed if cleanup is explicitly enabled in code through the
cleanup_post_metaoption or theTLYURSH_REMOVE_POST_META_ON_UNINSTALLconstant.
Отзывы
Нет отзывов об этом плагине.
Участники и разработчики
«TLY URL Shortener» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:
УчастникиПеревести «TLY URL Shortener» на ваш язык.
Заинтересованы в разработке?
Посмотрите код, проверьте SVN репозиторий, или подпишитесь на журнал разработки по RSS.
Журнал изменений
1.0.0
- Initial production-ready release.



