[WordPress] 外掛分享: Toma.hk Shortcodes

前言介紹

  • 這款 WordPress 外掛「Toma.hk Shortcodes」是 2013-04-22 上架。
  • 目前尚無安裝啟用數,是個很新的外掛。如有要安裝使用,建議多測試確保功能沒問題!
  • 上一次更新是 2013-04-24,距離現在已有 4393 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
  • 外掛最低要求 WordPress 3.5 以上版本才可以安裝。
  • 尚未有人給過這款外掛評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

grosbouff |

外掛標籤

music | Spotify | toma.hk | Tomahawk | shortcode |

內容簡介

Toma.hk 短碼允許您從 toma.hk 嵌入播放清單、專輯和單曲。

嵌入播放清單

使用此代碼:[twk-playlist]TOMAHK_PLAYLIST_URL[/twk-playlist],其中 TOMAHK_PLAYLIST_URL 是您的播放清單的網址(例如:http://toma.hk/p/R222222M)。
您還可以指定多個引數:

width(嵌入寬度)-默認值為550
height(嵌入高度)-默認值為430

像這樣:[twk-playlist width=”550″ height=”430″]TOMAHK_PLAYLIST_URL[/twk-playlist]

嵌入專輯

使用此代碼:
[twk-album artist=”專輯藝術家” title=”專輯名稱”][/twk-album]

或使用:
[twk-album]TOMAHK_ALBUM_URL[/twk-album]其中 TOMAHK_ALBUM_URL 是您的專輯網址(例如:http://toma.hk/album/The+Smashing+Pumpkins/Oceania)。

您還可以指定多個引數:

width(嵌入寬度)-默認值為550
height(嵌入高度)-默認值為430
像這樣:[twk-album width=”550″ height=”430″]TOMAHK_ALBUM_URL[/twk-album]

嵌入單曲

使用此代碼:

[twk-track artist=”音樂家名稱” title=”歌曲標題”][/twk-track]

或使用:

[twk-track]TOMAHK_TRACK_URL[/twk-track]其中 TOMAHK_TRACK_URL 是您的曲目網址(例如:http://toma.hk/Belaaaab)。

您還可以指定多個引數:

width(嵌入寬度)-默認值為200
height(嵌入高度)-默認值為200
autoplay(true|false)-默認值為true
disabled resolvers-默認值為false

像這樣:[twk-album width=”200″ height=”200″ autoplay=true disabled_resolvers=”Soundcloud,Officialfm”]TOMAHK_ALBUM_URL[/twk-album]

本地化

原文外掛簡介

Toma.hk shortcodes allows you to embed playlists, albums and single tracks from toma.hk.
Embed a playlist
Use this code : [twk-playlist]TOMAHK_PLAYLIST_URL[/twk-playlist] where TOMAHK_PLAYLIST_URL is the url of your playlist (eg.: http://toma.hk/p/R222222M).
You can also specify several arguments :

width (the embed width) – default is 550
height (the embed height) – default is 430

Like this : [twk-playlist width=”550″ height=”430″]TOMAHK_PLAYLIST_URL[/twk-playlist]
Embed an album
Use this code :
[twk-album artist=”ALBUM ARTIST” title=”ALBUM TITLE”][/twk-album]
Or use:
[twk-album]TOMAHK_ALBUM_URL[/twk-album]where TOMAHK_ALBUM_URL is the url of your album (eg.: http://toma.hk/album/The+Smashing+Pumpkins/Oceania).
You can also specify several arguments :

width (the embed width) – default is 550
height (the embed height) – default is 430
Like this : [twk-album width=”550″ height=”430″]TOMAHK_ALBUM_URL[/twk-album]

Embed a single track
Use this code :
[twk-track artist=”TRACK ARTIST” title=”TRACK TITLE”][/twk-track]
Or use:
[twk-track]TOMAHK_TRACK_URL[/twk-track]where TOMAHK_TRACK_URL is the url of your track (eg.: http://toma.hk/Belaaaab).
You can also specify several arguments :

width (the embed width) – default is 200
height (the embed height) – default is 200
autoplay (true|false) – default is true
disabled resolvers – default is false

Like this : [twk-album width=”200″ height=”200″ autoplay=true disabled_resolvers=”Soundcloud,Officialfm”]TOMAHK_ALBUM_URL[/twk-album]
Localization

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Toma.hk Shortcodes」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


最新版本

延伸相關外掛(你可能也想知道)

暫無相關外掛推薦。

文章
Filter
Mastodon