[WordPress] 外掛分享: Let’s Mix Shortcode

首頁外掛目錄 › Let's Mix Shortcode
全新外掛
安裝啟用
尚無評分
5455 天前
最後更新
問題解決
WordPress 2.8+ v1.0 上架:2011-05-14

內容簡介

這個 Let’s Mix Shortcode 外掛可以讓你透過 WordPress 短碼 (shortcode),輕鬆將來自 Let’s Mix 的曲目清單和播放器小工具整合到你的 WordPress 博客中。

請注意:這個外掛需要 PHP5。

相關鏈接:

Jeff Rose 的網站
Dr. House Music - 享受最棒的音樂和 DJ 混音!

在文章中使用:

[letsmix]http://www.letsmix.com/mix/MIXID/MIX_NAME[/letsmix]

請注意:如果你將 URL 或混音 ID 包含在開始標籤中,例如:

[letsmix url=http://www.letsmix.com/mix/MIXID/MIX_NAME]

[letsmix mix_id=MIXID]

... 那麼你就不應該使用結束標籤:[/letsmix]

此外,它還支援以下可選參數:

size=(big(=預設), tall 或 wide)
autostart=(no, yes, false, true, 1, 0(=預設))
width=(數字或百分比(例如 500, 75%),如果使用 size 參數,則會被覆蓋)
height=(數字或百分比(例如 500, 75%),如果使用 size 參數,則會被覆蓋)
tracklist=(no, yes(=預設), false, true, 1, 0)

使用參數的範例:

[letsmix size=wide]http://www.letsmix.com/mix/MIXID/MIX_NAME[/letsmix] 嵌入一個寬的播放器。

[letsmix size=tall tracklist=no autostart=yes]MIXID[/letsmix] 嵌入一個高的播放器,自動播放(載入嵌入播放器的網頁後會播放一次),且不會顯示曲目清單。

[letsmix url=http://www.letsmix.com/mix/MIXID/MIX_NAME tracklist=0] 嵌入預設的(big)播放器,且不會顯示曲目清單。

[letsmix mix_id=MIXID height=250 width=500 tracklist=false] 嵌入自訂尺寸的播放器,且不會顯示曲目清單。

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Let's Mix Shortcode」→ 直接安裝(推薦)

原文外掛簡介

The Let’s Mix Shortcode plugin allows you to easily integrate a player widget with tracklist from Let’s Mix into your WordPress Blog by using a WordPress shortcode.
Please note: this plugin requires PHP5.
Related Links:

Jeff Rose’s Website
Dr. House Music – Listen To The Greatest Tunes & DJ Mixes!

Usage in your posts:
[letsmix]http://www.letsmix.com/mix/MIXID/MIX_NAME[/letsmix]
Please Note: If you put the URL or Mix ID within the opening tag like:
[letsmix url=http://www.letsmix.com/mix/MIXID/MIX_NAME]
OR
[letsmix mix_id=MIXID]
…then you should not use the closing tag: [/letsmix]
It also supports the following optional parameters:

size=(big (=default), tall or wide)
autostart=(no, yes, false, true, 1, 0 (=default))
width=(numeric or percentage (e.g. 500, 75%), gets overwritten if size parameter is used)
height=(numeric or percentage (e.g. 500, 75%), gets overwritten if size parameter is used)
tracklist=(no, yes (=default), false, true, 1, 0)

Examples using parameters:
[letsmix size=wide]http://www.letsmix.com/mix/MIXID/MIX_NAME[/letsmix] Embeds a wide player.
[letsmix size=tall tracklist=no autostart=yes]MIXID[/letsmix] Embeds a tall player which autoplays (once webpage containing embedded player is loaded) and no tracklist.
[letsmix url=http://www.letsmix.com/mix/MIXID/MIX_NAME tracklist=0] Embeds the default player (big) and no tracklist.
[letsmix mix_id=MIXID height=250 width=500 tracklist=false] Embeds a player with custom dimensions and no tracklist.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon