Spotify is the biggest music streaming platform in the world today. With over 180 million active users and growing, it seems to be on its way to become a household name. Of course, it’s easy to see why. It’s cheap, affordable, easy to use, and backed by a huge library of songs across a ton of different genres-. With a streaming service like Spotify available, many even find manually downloading music to just be not worth the hassle. For WordPress site owners, Spotify also presents an opportunity to showcase music on their site without any hassle. In this article, we will help you out and show you how to embed a Spotify Playlist in WordPress.
Inserting a Spotify playlist can be a simple but effective way of improving viewer engagement. Not only does it provide another avenue for a user to interact with the site, but it also comes with an interface that is familiar to many. A good playlist can also be a great way to complement the content of a personal blog. Most importantly, it all comes without the headache that comes with hosting music yourself. Even music makers themselves can use this method to showcase their own music on their website. So without further ado, let’s get started on how to embed Spotify playlist in WordPress. There are two ways you can do this, by using a post or through a widget.
1. How to Embed a Spotify Playlist in WordPress Posts
Before anything else, you will first need to copy the embed code of your Spotify playlist. Open your playlist on Spotify and click on the button to the immediate right of Play. Now select Share from the options and then click on Copy Embed Code. The code has now been copied to your clipboard.
Now open up the WordPress post where you want the playlist to appear. Now all you need to do is paste the embed code wherever you want. Gutenberg will automatically detect and transform your embed into an IFrame.
For those of you using the Classic Editor, you will need to select the Text Editor at the top before pasting the embed code.
And that’s it! If you open the post, you will see that your playlist has been embedded in your post. It’s really that easy.
2. How to Embed a Spotify Playlist in WordPress as a Widget
Instead of using a post, you can just show a widget containing your Spotify playlist. It’s convenient as well as really easy to do. All you need is your embed code from earlier and you’re set.
First of all, go to Appearance>>Widgets from your Dashboard. Here, look for Custom HTML in the Available Widgets section at the left. Click on it and then select where you want your widget to appear. After that, click on Add Widget.
Now you will be able to modify your new widget. Add an appropriate Title and then paste your Spotify embed code in the Content Section. Now click on save and you’re ready to go.
The visitors of your site will now be able to see and interact with your Spotify playlist widget.
Wrapping it Up:
And that’s all there is to it. Hopefully, you now know how to embed a Spotify playlist in WordPress without any hassle. By following these methods, you can make your website much more lively and interesting. Those among you who are aspiring musicians can also use this method to effectively promote their music using their WordPress site. It’s quick, easy, and effective.
Embedding items can be very effective if you want to present a wide variety of content on your site. You can embed videos in WordPress, including Facebook videos in no time at all. It is also possible to embed Google Forms as well as Google Maps to provide additional functionality to your site. If you want to learn about how IFrames work, you can take a look at our article on WordPress IFrames.
For more helpful information about WordPress, you can check out some of our other articles.
- How to Disable Comments in WordPress – A Step-by-Step Guide for Beginners
- Beginner’s Guide to Customizing the WordPress Dashboard
- How To Install WordPress Plugins & Themes from GitHub: A Beginner’s Guide