Title: MrTux Music Collection
Author: Emilio Petrozzi - MrTux
Published: <strong>October 11, 2026</strong>
Last modified: October 11, 2026

---

Search plugins

![](https://ps.w.org/mrtux-music-collection/assets/banner-772x250.png?rev=3739466)

![](https://ps.w.org/mrtux-music-collection/assets/icon-256x256.png?rev=3739466)

# MrTux Music Collection

 By [Emilio Petrozzi – MrTux](https://profiles.wordpress.org/mrtuxit/)

[Download](https://downloads.wordpress.org/plugin/mrtux-music-collection.1.0.0.zip)

 * [Details](https://wordpress.org/plugins/mrtux-music-collection/#description)
 * [Reviews](https://wordpress.org/plugins/mrtux-music-collection/#reviews)
 *  [Installation](https://wordpress.org/plugins/mrtux-music-collection/#installation)
 * [Development](https://wordpress.org/plugins/mrtux-music-collection/#developers)

 [Support](https://wordpress.org/support/plugin/mrtux-music-collection/)

## Description

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/`.

## Screenshots

[⌊List table view in the admin.⌉⌊List table view in the admin.⌉[

List table view in the admin.

[⌊Track edit screen with audio uploader.⌉⌊Track edit screen with audio uploader.⌉[

Track edit screen with audio uploader.

[⌊Frontend shortcode output with Plyr player and share buttons.⌉⌊Frontend shortcode
output with Plyr player and share buttons.⌉[

Frontend shortcode output with Plyr player and share buttons.

## Installation

 1. Upload the `music-tracks` folder to `/wp-content/plugins/`, or upload the zip via**
    Plugins > Add New > Upload Plugin**.
 2. Activate the plugin through the **Plugins** menu in WordPress.
 3. Go to **MrTux Music Collection > Add New** to add your first track.
 4. Insert the shortcode `[music_tracks]` in any page or post.
 5. (Optional) Configure the Instagram profile fallback under **MrTux Music Collection
    > Settings**.

## FAQ

### Which audio formats are supported?

The plugin accepts any format supported by the WordPress media library. Recommended
for browser playback: MP3, WAV, OGG, M4A. FLAC works on modern browsers but may 
not play on iOS Safari.

### Why doesn’t the Instagram button share the track directly?

Instagram does not allow sharing arbitrary URLs from the web. The button uses the
native Web Share API when available (mostly mobile) and falls back to opening the
Instagram profile configured under **MrTux Music Collection > Settings**.

### How is the duration detected?

When you select an audio file in the editor, the browser loads its metadata and 
calculates the duration, then saves it to the database via AJAX.

### Can I show only specific artists?

Yes. Use the `artist` parameter of the shortcode:
 [music_tracks artist=”John Doe”]

### Will this plugin slow down my site?

No. CSS and JS are loaded only on pages where the shortcode is present.

### Do I need the Pro version?

No. This free version is complete and fully functional. MrTux Music Collection Pro
is an optional separate add-on (playlist layout with continuous playback, waveforms
and download buttons) available at https://wpforge.site/music-tracks-pro.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“MrTux Music Collection” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ Emilio Petrozzi – MrTux ](https://profiles.wordpress.org/mrtuxit/)

[Translate “MrTux Music Collection” into your language.](https://translate.wordpress.org/projects/wp-plugins/mrtux-music-collection)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/mrtux-music-collection/),
check out the [SVN repository](https://plugins.svn.wordpress.org/mrtux-music-collection/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/mrtux-music-collection/)
by [RSS](https://plugins.trac.wordpress.org/log/mrtux-music-collection/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0.0

 * Initial release.

## Meta

 *  Version **1.0.0**
 *  Last updated **2 days ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 5.6 or higher **
 *  Tested up to **7.1.3**
 *  PHP version ** 7.4 or higher **
 * Tags
 * [audio](https://wordpress.org/plugins/tags/audio/)[music](https://wordpress.org/plugins/tags/music/)
   [player](https://wordpress.org/plugins/tags/player/)[shortcode](https://wordpress.org/plugins/tags/shortcode/)
   [tracks](https://wordpress.org/plugins/tags/tracks/)
 *  [Advanced View](https://wordpress.org/plugins/mrtux-music-collection/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/mrtux-music-collection/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/mrtux-music-collection/reviews/)

## Contributors

 *   [ Emilio Petrozzi – MrTux ](https://profiles.wordpress.org/mrtuxit/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/mrtux-music-collection/)