Embedding content, Media, Shortcodes, Widgets & Sidebars


You can share audio on your WordPress.com site in a variety of ways on your site.

If you’re using the new WordPress Editor, you can add an Audio Block to a page or post. The instructions can be found here.

Table of Contents

Upload Audio to Your Site
Embed Audio From a Link
Audio Widget
Create a download link
SoundCloud or Audiomack player
Audio Playlists (Widget Only)
Dark Styling & Customizing the Audio Player
Frequently Asked Questions

Upload Audio to Your Site

You can upload the files to your site if you have a paid plan.

A paid plan will allow you to upload .mp3, .m4a, .ogg, or .wav files to your site. Create a new post or page or edit a current one, and click the Add button and select Media.

The following instructions refer to the Classic Editor. For instructions on adding audio through the Audio Block, click here.

Next, you will see your Media Library. Select the audio file you want to upload from your files, or click Add New to add a file from your device. You can click the Edit button to view and change the file details:

The Edit option will allow you to add a title, caption, and description. When these settings are to your liking, click Insert.

The audio upload will show in the post editor as a shortcode. On your site, it will appear as a playable audio embed.

↑ Table of Contents ↑

Add a link from your site to an outside audio file. Either upload an .mp3, .m4a, .ogg, or .wav file to a third-party server and link to it using our audio shortcode, or if you found an audio file elsewhere online, simply copy its URL.

If you paste just the URL to the audio file, the Editor will recognize it and convert it to shortcode. If the editor does not recognize the file as audio, you can use your own shortcode.

Below is an example of what the player would look like after you paste your shortcode:

The shortcode used for the above player is:

[audio src="http://en-support.files.wordpress.com/2014/10/istock_audio.wav"][/audio]

To loop your track or playlist, add loop=yes to your shortcode like this:

[audio http://en-support.files.wordpress.com/2014/10/istock_audio.wav loop=yes]

To automatically start playing your track when the page is visited, add autoplay=1 like so:

[audio src=http://en-support.files.wordpress.com/2014/10/istock_audio.wav autoplay=1]

To add both autoplay and loop, your shortcode would look like this:

[audio src=http://en-support.files.wordpress.com/2014/10/istock_audio.wav autoplay=1 loop=yes]

Note: Autoplay is no longer supported on Google Chrome due to their recent policy changes. You can read more about that here.

If your current browser does not support HTML5 audio for your uploaded format, or Flash Player is not installed, a direct download link will be displayed instead of the player.

To get the latest information on browser support for HTML5 audio, visit the feature page on Can I use. From there, click on the Sub-Features tab for information on specific formats.

↑ Table of Contents ↑

Audio Widget

You can add an audio player as an Audio Widget in the sidebar or footer of your site, using either an audio file you’ve uploaded to your site or an audio file from a link. For more details, see the Audio Widget page.

↑ Table of Contents ↑

Create a download link to a file hosted elsewhere. This will require your readers to save and play the sound file on their own computers. If you are uploading or linking to a file hosted elsewhere, please be sure to respect the wishes of the copyright holder.

↑ Table of Contents ↑

SoundCloud or Audiomack player

You can embed audio with the SoundCloud Audio Player. This will produce the following player:

You can also use the Audiomack Audio Player. This will produce the following music player on your site:

↑ Table of Contents ↑

Audio Playlists (Widget Only)

The Music Player widget is available to sites with a plan upgrade, and it’s a great way to add your playlist to the sidebar.

  1. From My Sites → Design → Customize → Widgets in your site’s Dashboard, add the Music Player widget into a widget area.
  2. Click Choose songs to upload your audio files.

You can use the shortcode created in the Music Player box to embed the playlist on any post, page, or widget area. Just copy the shortcode and paste it wherever you want the player to appear.

↑ Table of Contents ↑

Dark Styling & Customizing the Audio Player

You can toggle between the dark and the light color schemes by adding style="dark" to your shortcode (which is generated with the playlist editor, above).  For example:

[playlist ids="123,121,119,117,115,113,111,109" style="dark"]

For additional customization of your Audio Player, you can use the Custom Design upgrade to make your playlist look the way you want with CSS.

↑ Table of Contents ↑

Frequently Asked Questions

How can I edit the artist and album details of the songs?

You can edit the names of your songs in the WP Admin Media Library only. You can get to this dashboard by adding /wp-admin to the end of your site’s url (e.g.: example.wordpress.com/wp-admin).

Can I add a playlist that plays just the first 30 seconds of each song?

The player will play the complete song.

I get a blank screen when I try to choose songs for the Music Player widget.

You may need to disable Accessibility Mode to choose songs for your Music Player widget. You can go to Appearance → Widgets in your site’s Dashboard, click the Screen Options tab in the upper right, and click Disable accessibility mode. Then, try choosing your songs in the Music Player widget again.

Still confused?

Contact support.

Not quite what you're looking for?

Get Help