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

Soundcloud Latest Tracks

描述

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!

屏幕截图

  • The SoundCloud Latest Tracks shortcode in action:

安装

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.

常见问题

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.

评价

此插件暂无评价。

贡献者及开发者

“Soundcloud Latest Tracks” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

更新日志

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.