Spotify podcast

How to Embed a Spotify Podcast on a WordPress Website

By embedding a Spotify podcast on your WordPress website, you’re not just sharing your favorite shows or podcasts with your audience. You’re also enhancing your site’s content and engaging visitors with audio elements. This process is relatively simple and can be done using Spotify’s embed code. 

Follow this detailed guide to integrate a Spotify podcast into your WordPress site seamlessly.

Step-by-Step Guide to Embedding a Spotify Podcast

  1. Choose the Podcast Episode or Show:
    • Open Spotify and navigate to the episode or full podcast show you want to embed.
    • Click on the three dots () next to the episode or show title.
    • Select “Share” and then choose “Copy Embed Code.”
  2. Log in to Your WordPress Dashboard:
    • Go to your WordPress website and log in to the dashboard.
    • Navigate to the post or page where you want to embed the podcast.
  3. Edit the Post or Page:
    • Open the editor for the post or page. If you are using the Classic Editor, switch to the Text Editor. Add a new Custom HTML block if you use the Block Editor (Gutenberg).
  4. Paste the Embed Code:
    • In the Classic Editor, paste the embed code directly into the Text editor at the desired location.
    • Click on the plus (+) icon in the Block Editor to add a new block. Search for “Custom HTML” and select it. Paste the embed code into the Custom HTML block.
  5. Preview and Publish:
    • Preview the post or page to ensure the podcast player is displaying correctly.
    • Once satisfied, publish or update your post/page.

Additional Tips for Embedding Spotify Podcasts

  • Adjusting the Embed Size:
    The default embed code from Spotify might not fit perfectly within your site’s layout. But don’t worry. You can adjust the width and height in the embed code to fit your design better. Look for the width and height Attributes in the code and change the values as needed. Here’s an example:
    HTML


<iframe width=”660″ height=”200″ src=”https://open.spotify.com/embed/episodes/1yLNfhjHjvUhCEmd5apXCt?utm_source=embed&utm_medium=website&utm_campaign=spotify-plyr” frameborder=”0″ allowtransparency=”true” allow=”autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture”></iframe>


  • In this example, the width is set to “660” and the height to “200”. You can adjust these values to your liking.
  • Using a Plugin:
    Using a plugin can simplify the process if you frequently embed podcasts or other content. Plugins like ‘Seriously Simple Podcasting‘ can streamline embedding various media types, including Spotify podcasts. This article explains how to set up Seriously Simple Podcasting, which can be a convenient alternative to manual embedding.
  • Ensuring Mobile Responsiveness:
    Add custom CSS to ensure the embedded podcast looks good on mobile devices. Here’s a basic example of how to make the embed responsive:
    CSS


.spotify-embed {

    width: 100%;

    max-width: 660px;

    margin: 0 auto;

}


  • Add this CSS to your theme’s stylesheet, or use a plugin like “Simple Custom CSS” to add it quickly.

Buying a Podcast Guru theme to build a podcast website would be better to avoid this hectic installation of WordPress themes.

Conclusion

Embedding a Spotify podcast on your WordPress website is straightforward and can enhance your site’s content and engage your audience with audio elements. Whether you choose to embed manually using the embed code or through a dedicated plugin, following the steps outlined above will ensure a smooth integration. By sharing your favorite podcasts or episodes, you can provide valuable content to your visitors and enrich their experience on your site.