這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 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〉的開發相關工作。

參與者

將〈Soundcloud Latest Tracks〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

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.