One of our readers recently asked for a simple way to integrate SoundCloud into their WordPress site. WordPress's oEmbed feature makes embedding from services like YouTube, Twitter, and Vimeo straightforward—just paste the URL on its own line. SoundCloud wasn't natively supported at first, but we've got you covered with an easy fix using the wp_oembed_add_provider() function.
Important Update: As of WordPress 3.5 and later, SoundCloud is officially supported out of the box. You no longer need this custom code—simply paste any SoundCloud URL on a new line in your post or page, and it will auto-embed seamlessly.
For reference or older sites, add this code to your theme's functions.php file or a site-specific plugin:
function add_oembed_soundcloud() {
wp_oembed_add_provider( 'https://soundcloud.com/*', 'https://soundcloud.com/oembed' );
}
add_action( 'init', 'add_oembed_soundcloud' );That's all it takes. Drop your SoundCloud URL on a separate line, and oEmbed handles the rest for a responsive, professional player.
Prefer more features? Check out the popular SoundCloud Is Gold plugin. WordPress.com users (or self-hosted sites with Jetpack) can use the shortcode: [soundcloud url="https://api.soundcloud.com/tracks/207988" iframe="true" /] after enabling Shortcode Embeds.
This approach has helped countless sites enhance their audio content reliably. If you have questions, drop a comment below—we're here to help based on years of WordPress optimization experience.