Title: SoundCloud Shortcode
Author: indextwo
Published: <strong>2009 年 7 月 10 日</strong>
Last modified: 2024 年 3 月 28 日

---

搜尋外掛

![](https://ps.w.org/soundcloud-shortcode/assets/banner-772x250.png?rev=2908163)

這個外掛**並未在最新的 3 個 WordPress 主要版本上進行測試**。開發者可能不再對這個
外掛進行維護或提供技術支援，並可能會與更新版本的 WordPress 產生使用上的相容性問題。

![](https://ps.w.org/soundcloud-shortcode/assets/icon-256x256.png?rev=2908163)

# SoundCloud Shortcode

 由 [indextwo](https://profiles.wordpress.org/indextwo/) 開發

[下載](https://downloads.wordpress.org/plugin/soundcloud-shortcode.4.0.3.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/soundcloud-shortcode/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/soundcloud-shortcode/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/soundcloud-shortcode/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/soundcloud-shortcode/#developers)

 [技術支援](https://wordpress.org/support/plugin/soundcloud-shortcode/)

## 外掛說明

This plugin converts all SoundCloud shortcodes into embeddable SoundCloud players.
It works for any SoundCloud track, playlist, user, or group. Once you install this
plugin, it will work for any of your WordPress posts & pages. I mean, _sure_ you
could use oEmbed or the snappy new Gutenberg editor to simply paste in a SoundCloud
URL; but we like to keep things _old-school_ 😎

A simple example:

    ```
    [soundcloud]http://soundcloud.com/forss/flickermood[/soundcloud]
    ```

**More Options**

SoundCloud Shortcodes support these optional parameters:

 * `width`
 * `height`
 * `params`

The `params` parameter passes additional options to the SoundCloud embeddable player.
You can find a full list on the SoundCloud Developers pages: https://developers.
soundcloud.com/docs/api/html5-widget

An example of a track that starts playing automatically, with hot-pink controls:

    ```
    [soundcloud params="auto_play=true&color=#F368E0"]http://soundcloud.com/forss/flickermood[/soundcloud]
    ```

## 安裝方式

 1. Upload `soundcloud-shortcode` to your plugins directory or install it from the 
    WordPress Plugin Repository
 2. Activate the plugin through the ‘Plugins’ menu in WordPress

## 使用者評論

![](https://secure.gravatar.com/avatar/d18f688ef0da134ae3057794876df48cc7bbe2ac8fd33e2954be88a3cb3a0f77?
s=60&d=retro&r=g)

### 󠀁[Garbage](https://wordpress.org/support/topic/garbage-157/)󠁿

 [maxlefou](https://profiles.wordpress.org/maxlefou/) 2022 年 11 月 9 日

No updates for 9 years, no support for PHP 8. Delete this.

![](https://secure.gravatar.com/avatar/ead9cca777632094038f9647ad6e1be49f600a0918c4d249bcd90096ac02183a?
s=60&d=retro&r=g)

### 󠀁[Excellent](https://wordpress.org/support/topic/excellent-5741/)󠁿

 [ciarabuck900](https://profiles.wordpress.org/ciarabuck900/) 2017 年 12 月 27 日

thnks alot

![](https://secure.gravatar.com/avatar/8f1285ce30e2fcc88d9832b7465c6ea1bba869892688ed1ef4b95dc6053d3bbb?
s=60&d=retro&r=g)

### 󠀁[It works](https://wordpress.org/support/topic/it-works-862/)󠁿

 [W2S](https://profiles.wordpress.org/w2s/) 2016 年 9 月 3 日

with WP 4

![](https://secure.gravatar.com/avatar/6422358d499f34a3cf3020b1e53f5d1cc5f461999f722d7d91a4e1c4ce425c64?
s=60&d=retro&r=g)

### 󠀁[does not work anymore!](https://wordpress.org/support/topic/does-not-work-anymore-10/)󠁿

 [brizkalla](https://profiles.wordpress.org/brizkalla/) 2016 年 9 月 3 日

was working great but now does not work with wordpress 4.3.1 PLEASE FIX ASAP! would
also be good if we had more formatting/playlist options

![](https://secure.gravatar.com/avatar/f9442a11804a651cfcf238c281c3b0e55e97d6f436d9c162b7ba80dba42073c1?
s=60&d=retro&r=g)

### 󠀁[good](https://wordpress.org/support/topic/good-2180/)󠁿

 [Digital Syndrome](https://profiles.wordpress.org/outgoingroast/) 2017 年 2 月 
7 日

good

![](https://secure.gravatar.com/avatar/b34cb48cce85d46f27758f98d9d37e0690bd84717f3a796ff1231f9c69809227?
s=60&d=retro&r=g)

### 󠀁[works](https://wordpress.org/support/topic/works-1170/)󠁿

 [shadschatter](https://profiles.wordpress.org/shadschatter/) 2017 年 2 月 7 日

good

 [ 閱讀全部 23 則使用者評論 ](https://wordpress.org/support/plugin/soundcloud-shortcode/reviews/)

## 參與者及開發者

以下人員參與了開源軟體〈SoundCloud Shortcode〉的開發相關工作。

參與者

 *   [ indextwo ](https://profiles.wordpress.org/indextwo/)
 *   [ theophani ](https://profiles.wordpress.org/theophani/)
 *   [ jowagener ](https://profiles.wordpress.org/jowagener/)
 *   [ por_ ](https://profiles.wordpress.org/por_/)

[將〈SoundCloud Shortcode〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/soundcloud-shortcode)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/soundcloud-shortcode/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/soundcloud-shortcode/)，或透過
[RSS](https://plugins.trac.wordpress.org/log/soundcloud-shortcode/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/soundcloud-shortcode/)。

## 變更記錄

#### 4.0.3

 * Caught undefined indexes that might show up when `WP_DEBUG = true`; or environment’s`
   error_reporting` was set to show warnings and/or notices.

#### 4.0.2

 * Updated sanitization of potential inputs from both admin and directly within 
   shortcode
 * Minor coding-standards tweaks and normalization
 * Updated `Supports` version

#### 4.0.1

 * Bumped minor version number, removing `trunk` as it’s no longer supported
 * Added `Requires PHP` version
 * Updated some option descriptions
 * Updated `Update URI`

#### 4.0.0

 * Hefty sanitization overhaul to address vulnerability raised in CVE-2023-34018
 * Major refactor of code, including removing Flash widget option & addressing miscellaneous
   bugs
 * Removed outdated tests
 * Added several new default options to reflect available SoundCloud widget parameters
 * Updated language on settings page to make options clearer
 * Redesigned settings page, now with a shiny new logo

#### 3.1.0

 * Update ternary operator to be compatible with PHP8
 * Added `soundcloud_shortcode_options` filter
 * Update readme to reflect SoundCloud docs & API options
 * Added icons & banners

#### 3.0.2

 * Always load embeds over https

#### 3.0.1

 * Minor copy updates in readme.txt

#### 3.0.0

 * Make visual player the default player (option to disable in settings)

#### 2.3.2

 * Add developer documentation
 * Update README

#### 2.3.1

 * Add support for permalinks in HTML5 shortcode

#### 2.3.0

 * Don’t use oEmbed anymore because of various bugs.
 * Standard http://soundcloud.com/ permalinks will always return the flash widget.
   Use the widget generator on the website to get an API url.

#### 2.2.0

 * Improved default options support

#### 2.1.0

 * Integrate oEmbed

#### 2.0.0

 * HTML5 Player added as the default player, with Flash as an option and fallback
   for legacy URL formats.

#### 1.2.1

 * Removed Flash fallback HTML

#### 1.2.0

 * Added options page to allow blog-wide global default settings.

#### 1.1.9

 * Fix to support resources from api.soundcloud.com
 * Security enhancement. Only support players from player.soundcloud.com, player.
   sandbox-soundcloud.com and player.staging-soundcloud.com

#### 1.1.8

 * Bugfix to use correct SoundCloud player host

#### 1.0

 * First version

## 中繼資料

 *  版本 **4.0.3**
 *  最後更新 **2 年前**
 *  啟用安裝數 **5,000+**
 *  WordPress 版本需求 ** 3.1.0 或更新版本 **
 *  已測試相容的 WordPress 版本 **6.4.8**
 *  PHP 版本需求 ** 5.6 或更新版本 **
 *  語言
 * [English (US)](https://wordpress.org/plugins/soundcloud-shortcode/)
 * 標籤:
 * [shortcode](https://tw.wordpress.org/plugins/tags/shortcode/)[soundcloud](https://tw.wordpress.org/plugins/tags/soundcloud/)
 *  [進階檢視](https://tw.wordpress.org/plugins/soundcloud-shortcode/advanced/)

## 評分

 4.5 星，滿分為 5 星

 *  [  17 個 5 星使用者評論     ](https://wordpress.org/support/plugin/soundcloud-shortcode/reviews/?filter=5)
 *  [  2 個 4 星使用者評論     ](https://wordpress.org/support/plugin/soundcloud-shortcode/reviews/?filter=4)
 *  [  3 個 3 星使用者評論     ](https://wordpress.org/support/plugin/soundcloud-shortcode/reviews/?filter=3)
 *  [  0 個 2 星使用者評論     ](https://wordpress.org/support/plugin/soundcloud-shortcode/reviews/?filter=2)
 *  [  1 個 1 星使用者評論     ](https://wordpress.org/support/plugin/soundcloud-shortcode/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/soundcloud-shortcode/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/soundcloud-shortcode/reviews/)

## 參與者

 *   [ indextwo ](https://profiles.wordpress.org/indextwo/)
 *   [ theophani ](https://profiles.wordpress.org/theophani/)
 *   [ jowagener ](https://profiles.wordpress.org/jowagener/)
 *   [ por_ ](https://profiles.wordpress.org/por_/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/soundcloud-shortcode/)