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:

Playlist example:
[spotifyplaybutton play=”https://open.spotify.com/playlist/37i9dQZF1E39g1r00WoOvS?si=e05ab8be00c24b39″]
Also works with old Spotify URI:

Song example:
[spotifyplaybutton play=”https://open.spotify.com/track/6te1QldCR1BWiNgwZADpu4?si=ee0dfebaa2944756″]
Also works with old Spotify URI:

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:

  1. view

  2. size

  3. sizetype

  4. 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"]

عکس‌های صفحه

  • Copy the Spotify URI from the album, playlist or song you want to embed on your site
  • Add the shortcode as a Shortcode block
  • Or you can use a Paragraph block
  • It also works with the Classic editor
  • In the classic editor there’s even a helpful button
  • The nice result
  • The global settings page


این افزونه 1 بلوک ارائه می‌دهد.

  • Sp*tify Play Button for WordPress


This section describes how to install the plugin and get it working.

  1. Upload the folder “sptify-play-button-for-wordpress” to the “/wp-content/plugins/” directory

  2. Activate the plugin through the “Plugins” menu in WordPress

  3. Go to “Sp*tify Play Button Settings” under the “Settings” menu (http://YOURSITE/wp-admin/options-general.php?page=spotifyplaybutton_settings) to make your default settings for your Sp*tify Play Buttons.

  4. Start adding your Sp*tify Play Buttons!

سوالات متداول

None, yet.

نقد و بررسی‌ها

می 19, 2023
Adding this plugin to a post lowers the page speed insight by 30 %!!! I would not recommend this plugin. Not sure whether it’s the plugin or the communication to Spotify, but a lazy-load would be great: Just load the layout and then – only on the click – start to set up the communication to Spotify. If this is given, I could give a 5-star rating. But like that, it’s quite dangerous for your website.
دسمبر 3, 2017
All I needed for my website was a simple, inexpensive Spotify Play Button. Using the button installed by this plugin at the top of my edit page, everything worked perfectly! The results were better than expected and even provided a playlist for all the tracks in the album.
نوامبر 10, 2017
Plugin rápido e direto, fácil para alterar configurações e permite diferentes layouts na página
خواندن تمامی 4 نقد و بررسی‌

توسعه دهندگان و همکاران

“Sp*tify Play Button for WordPress” نرم افزار متن باز است. افراد زیر در این افزونه مشارکت کرده‌اند.

مشارکت کنندگان

ترجمه “Sp*tify Play Button for WordPress” به زبان شما.

علاقه‌ مند به توسعه هستید؟

کد را مرور کنید, را بررسی کنید مخزن SVN, یا مشترک شوید گزارش توسعه توسط RSS.

گزارش تغییرات


  • Security update


  • Use the latest Spotify embed
  • Convert Share URL to URI for embed, since Spotify removed support for embedding Share URL


  • Added lazy loading attribute for the embed


  • Escape options in admin, security fix. Thanks Wordfence!


  • Escape attributes for link too


  • Escape attributes, security fix. Thanks Patchstack!


  • Versioning


  • Now works with both Spotify URI and Spotify URL


  • Fix for WordPress 5.8 widget blocks


  • Domain Path


  • Settings link


  • Now available as a Gutenberg block
  • Removed view coverart since it has been removed from Spotify


  • Min height for compact


  • Height fix. Should’ve seen that coming 😉


  • Width fix


  • Theme removed by Spotify so parameter is dropped
  • Updated iframe code to mirror changes by Spotify
  • Changed deprecated media_buttons_context to media_buttons, so the plugin is error free in debug mode too


  • Tested 5.6
  • New assets


Tested 5.3.2


Damn you markdown!


Even less Spotify and more Sp*tify


Even less Spotify and more Sp*tify


Even less Spotify and more Sp*tify


  • The name change of the plugin is because no plugins are allowed to start with a brand name. :/
  • Tested up to 5.2.3 and still works like magic. No changes to the code. 🙂




  • Better looking UI.
  • Bugfixes
  • Cleanup


Added button to TinyMCE to make it easier to add lists to pages and posts without having to remember the shortcode.


  • Updated with the news specs from Spotify
  • Responsive mode added
  • Simplified admin page


Added link for opening the lista in Spotify, you can disable it in the settings




Requires and Tested versions.


Touch to make you know it still works fine. 🙂


  • Getting assets right, editing readme


  • I feel confident!