Soundcloud Latest Tracks

February 02, 2015

Soundcloud Latest Tracks Plugin

This plugin simply allows you to choose a Soundcloud user and display an x amount of latest tracks from that user using a nice lil' shortcode or …

This plugin is to fill the hole in the WordPress plugin directory where users wish to show their latest X amount of tracks on X amount of rows each row being an embedded Soundcloud player.

The user will also have the option to add a “hear more” button to get the next X amount of tracks from the chosen Soundcloud user.

The reason I find this better than embedding a single Soundcloud player (that plays multiple tracks) is that users will be interacting more with the site instead of heading off to Soundcloud and also get a better sense of your website’s style with my plugin rather than a player you slapped on the site.

Donations

Head on over to http://campbell-designs.com/donate to buy me a coffee to keep me energised from fixing all those nasty bugs!

Installation

This section describes how to install the plugin and get it working.

e.g.

  1. Upload soundcloud-latest-tracks folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Now you can use the shortcode in any piece of text on the site:

    [soundcloud_latest_tracks user=”YOUR_SOUNDCLOUD_USER_ID” show=”NUMBER_OF_TRACKS_SHOWN” hear_more=”YES_OR_NO”]

Shortcode options:
– user: The Soundcloud user name that can be found in the URL of the user’s Soundcloud account.

  • show: The number of tracks to show of that user (showing the newest to the oldest).

  • hear_more: Show/hide a “hear more” button that will get the next ‘show’ amount of tracks for the given user.

  • show_comments: Show/hide comments on the SoundCloud player.

  • visual: Use the visual SoundCloud player (artwork is used as a background for the player) or the normal HTML5 player.

You can also use the widget name “Soundcloud Latest Tracks Widget” and fill in the same attributes as above.

Screenshots

  1. The SoundCloud Latest Tracks shortcode in action:

    The SoundCloud Latest Tracks shortcode in action:

FAQ

Can I use the shortcode AND the widget on the same page?

For now this is not possible, sorry!

The color setting is not doing anything! What’s happening?

The color setting will change the color of the main controls and buttons ONLY if visual is set to off.

Changelog

1.3

  • Added a color attribute to change the main color of the Soundcloud player.

1.2

  • Fixed some bugs to do with the shortcode attributes.

1.1

  • Added a visual option to change the type of SoundCloud player chosen.
  • Shortcode and widget can be used multiple time on the same page now.
  • Fixed bug where hear more button breaks when no more tracks to fetch.

Details

  • Version: 1.3
  • Active installations: 90
  • WordPress Version: 3.0.1
  • Tested up to: 4.0.38

Ratings


5 Stars
4 Stars
3 Stars
2 Stars
1 Stars