[WordPress] 外掛分享: Sp*tify Play Button for WordPress

首頁外掛目錄 › Sp*tify Play Button for WordPress
WordPress 外掛 Sp*tify Play Button for WordPress 的封面圖片
3,000+
安裝啟用
★★★★
4.3/5 分(4 則評價)
486 天前
最後更新
問題解決
WordPress 5.0+ PHP 7.4+ v2.13 上架:2012-04-11

內容簡介

此外掛現已加入 Gutenberg 區塊!

Sp*tify Play Button 讓您輕鬆地加入 Spotify 播放按鈕,只要在 WordPress 區塊中加入 Sp*tify Play Button 或添加短代碼即可立即播放專輯、播放清單或歌曲:

專輯範例:
[spotifyplaybutton play=”https://open.spotify.com/album/5PvkD4XryLL9oC4NFItYIM?si=pT6des85S6WPQY7O9ipGPw”]
也支援 Spotify 舊版網址格式:
[spotify:album:7JggdVIipgSShK1uk7N1hP]

播放清單範例:
[spotifyplaybutton play=”https://open.spotify.com/playlist/37i9dQZF1E39g1r00WoOvS?si=e05ab8be00c24b39″]
也支援 Spotify 舊版網址格式:
[spotify:user:jonk:playlist:65ujzBs6WTdWDIr17dOXUm]

歌曲範例:
[spotifyplaybutton play=”https://open.spotify.com/track/6te1QldCR1BWiNgwZADpu4?si=ee0dfebaa2944756″]
也支援 Spotify 舊版網址格式:
[spotify:track:2qntSA2cwerjTduHPuKnW5]

您不需要記住這些短代碼。如果您使用 Gutenberg,可以使用包含所有設定的區塊。如果您使用經典版編輯器,編輯器中也有 Sp*tify Play Button。

只需在 Spotify 中右鍵點擊專輯、播放清單或歌曲,並點擊「分享」,然後點擊「URI」。將其與上面的短代碼一起貼上,或者只需使用管理員按鈕,然後在那裡貼上 URI。

您可以在「設定」菜單下的「Sp*tify Play Button 設定」頁面上設置 Sp*tify Play Button 的樣式 (http://YOURBLOG/wp-admin/options-general.php?page=spotifyplaybutton_settings)。

您還可以添加屬性以自定義單個 Sp*tify Play Button:

view

size

sizetype

link

這些屬性都會覆蓋「Sp*tify Play Button 設定」中的設置,並且都是可選的。

例如:[spotifyplaybutton play="https://open.spotify.com/playlist/2Xm7KEL5NFHwPboQY22BcZ?si=c99d69e2c916447b" size="0" sizetype="big"]

外掛標籤

開發者團隊

⬇ 下載最新版 (v2.13) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Sp*tify Play Button for WordPress」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Now with Gutenberg block!
Sp*tify Play Button lets you easily add a Spotify Play Button for instant play of album, playlist or song by adding the Sp*tify Play Button for WordPress block or adding a shortcode:
Album example:
[spotifyplaybutton play=”https://open.spotify.com/album/5PvkD4XryLL9oC4NFItYIM?si=pT6des85S6WPQY7O9ipGPw”]
Also works with old Spotify URI:
[spotify:album:7JggdVIipgSShK1uk7N1hP]
Playlist example:
[spotifyplaybutton play=”https://open.spotify.com/playlist/37i9dQZF1E39g1r00WoOvS?si=e05ab8be00c24b39″]
Also works with old Spotify URI:
[spotify:user:jonk:playlist:65ujzBs6WTdWDIr17dOXUm]
Song example:
[spotifyplaybutton play=”https://open.spotify.com/track/6te1QldCR1BWiNgwZADpu4?si=ee0dfebaa2944756″]
Also works with old Spotify URI:
[spotify:track:2qntSA2cwerjTduHPuKnW5]
You don’t have to remember these shortcodes. If you are using Gutenberg, there is a block with all the settings you need. And if you’re using the Classic editor there’s a Sp*tify Play Button in the editor.
Simply right click on album, playlist or song in Spotify and click “Share” and then click “URI”. Either paste that together with the shortcode above or just use the admin button and paste the URI there.
You can set the style for your Sp*tify Play Buttons on the “Sp*tify Play Button Settings” page under the “Settings” menu (http://YOURBLOG/wp-admin/options-general.php?page=spotifyplaybutton_settings).
You can also add attributes to customize a single Sp*tify Play Button:

view

size

sizetype

link

All of these will override the settings in “Sp*tify Play Button Settings” for the Sp*tify Play Button and they are all optional.
Example: [spotifyplaybutton play="https://open.spotify.com/playlist/2Xm7KEL5NFHwPboQY22BcZ?si=c99d69e2c916447b" size="0" sizetype="big"]

延伸相關外掛

文章
Filter
Apply Filters
Mastodon