TLY URL Shortener

설명

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

  1. Upload the plugin folder to /wp-content/plugins/.
  2. Activate TLY URL Shortener from the Plugins screen.
  3. Go to Settings > T.LY.
  4. Add your T.LY API key.
  5. Optionally set a default short domain and enable the workflows you want.

Hooks used

  • init
  • transition_post_status
  • admin_menu
  • admin_init
  • admin_enqueue_scripts
  • add_meta_boxes
  • rest_api_init
  • admin_post_tlyursh_generate_short_link
  • admin_notices
  • manage_post_posts_columns
  • manage_page_posts_columns
  • manage_post_posts_custom_column
  • manage_page_posts_custom_column
  • post_row_actions
  • page_row_actions

Filters provided

  • tlyursh_supported_post_types
  • tlyursh_auto_generate_for_post_type
  • tlyursh_enable_logging
  • tlyursh_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

  1. Settings page with API and automation options
  2. Posts list table with the T.LY link column and row actions
  3. 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

스크린샷

FAQ

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_meta option or the TLYURSH_REMOVE_POST_META_ON_UNINSTALL constant.

후기

이 플러그인에 대한 평가가 없습니다.

기여자 & 개발자

“TLY URL Shortener”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

자국어로 “TLY URL Shortener”(을)를 번역하세요.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하세요.

변경이력

1.0.1

  • Confirm compatibility with WordPress 7.0.
  • Update the block editor sidebar to use the current WordPress editor API.

1.0.0

  • Initial production-ready release.