该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

F13 Last.fm album Shortcode

描述

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

屏幕截图

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

安装

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’

常见问题

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.

评价

此插件暂无评价。

贡献者及开发者

“F13 Last.fm album Shortcode” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

更新日志

1.0

  • Initial release