This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

F13 Last.fm album Shortcode

Description

If you blog about music and wish to add information about the album you are viewing without having to source details such as album art, track listings or an album summary, why not use shortcode to do the hard work for you.

Simply install the plugin, add a Last.fm API Token by following the instructions on the admin page and add the shortcode [album artist=”anArtist” album=”anAlbum”] to insert an array of information about the given album.

Features include:

  • Cached using Transient
  • Styles appearance
  • Includes an image of the album artwork if it is available
  • Album artwork is copied to the Media Library to ensure the image is always available when needed
  • Provides a list of tracks with the track duration
  • Shows a list of tags, such as Genres and ‘Albums I own’ if the album is marked as owned in the Last.fm account associated with the API key
  • Provides a publish date, althogh this may be the publish date of a re-mastered edition
  • Displays a summary of the album as provided by the Last.fm API

Screenshots

  • An example showing the results of the shortcode [album artist="Queen" album="Greatest Hits"]

Installation

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

  1. Upload the plugin files to the /wp-content/plugins/plugin-name directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress
  3. Follow the instructions in ‘WPAdmin => Settings => F13 Last.fm Album Shortcode’ to obtain a Last.fm API key
  4. Add the shortcode [album artist=”anArtist” album=”anAlbum”] to the desired location
  5. If desired, add a cache timeout on the admin page ‘Settings->F13 Last.fm Album Shotcode’

FAQ

Is an API token required

Yes, a Last.fm API token is required in order for this plugin to work, instructions for obtaining an API token are details on the plugins admin page.

Contributors & Developers

“F13 Last.fm album Shortcode” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

1.0

  • Initial release