
內容簡介
MrTux Music Collection 是一款完整的 WordPress 外掛,讓管理員透過專屬控制台管理音樂曲目,並可使用短碼在公共網站上展示現代化的音頻播放器。此外掛免費且功能完整,無需購買。
【主要功能】
• 自訂文章類型 music_track,包含標題、描述、藝術家、專輯等資訊
• 短碼 [music_tracks] 支援多種參數設定
• 現代化 HTML5 音頻播放器,支援單曲播放
• 自動檢測音頻檔案長度,並透過 AJAX 儲存
• 每首曲目均有 WhatsApp 和 Instagram 分享按鈕
• 支援音樂類別的層級結構
外掛標籤
開發者團隊
原文外掛簡介
MrTux Music Collection is a complete WordPress plugin that lets administrators manage a collection of audio tracks through a dedicated control panel and expose them on the public site via a shortcode with a modern, responsive audio player. It is free and fully functional on its own — no purchase required.
Features:
Custom Post Type music_track with title, description, artist, album, cover image, and audio file upload via the native WordPress media uploader.
Custom admin list table with bulk actions (publish, draft, delete), single row actions, search and pagination.
Shortcode [music_tracks] with parameters: limit, orderby, order, artist, show_cover, show_share, layout.
Modern HTML5 audio player powered by Plyr with one-at-a-time playback (playing a new track automatically pauses the others).
Automatic duration detection: as soon as the audio file is selected in the editor, the browser computes the duration and persists it via AJAX.
Share buttons for WhatsApp and Instagram on every track (Web Share API + configurable Instagram profile fallback).
Track categories with hierarchy support and grouped display.
Clean, conditional asset loading: CSS/JS are enqueued only on pages where the shortcode is present.
Fully internationalized, .pot file included.
WPCS-compliant code, with nonces, capability checks and proper sanitization/escaping everywhere.
The Pro edition
For creators who need more, MrTux Music Collection Pro adds:
Continuous playlist player: a single global player with a visible queue that keeps playing the next track automatically.
Canvas waveform progress bar for every track, with click-to-seek.
One-click download buttons for every track.
Dedicated Pro settings page (autoplay, download defaults).
MrTux Music Collection Pro is a separate add-on, installed alongside this free plugin, available at https://wpforge.site/music-tracks-pro. This free version is complete on its own and does not require any purchase.
How to upgrade
Visit https://wpforge.site/music-tracks-pro and download the Pro add-on.
Upload it via Plugins > Add New > Upload Plugin.
Keep both plugins active: the Pro features appear automatically (e.g. use [music_tracks layout="playlist"]).
Credits
Built on the audio player library Plyr by Sam Potts, MIT License, bundled locally in assets/vendor/plyr/.
