Directory / plugin

MrTux Music Collection

v1.0.0 · by Emilio Petrozzi - MrTux

Manage a music collection from the admin and display it on the frontend with a modern audio player (Plyr) and WhatsApp/Instagram share buttons.

About this plugin

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

  1. Visit https://wpforge.site/music-tracks-pro and download the Pro add-on.
  2. Upload it via Plugins > Add New > Upload Plugin.
  3. 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/.

Plugin tags