Working with Audio

You can use one of WordPress’ many built-in “shortcodes” to display an embedded audio player for many common types of audio files, . Supported audio types include: .mp3, .m4a, .wav, and .ogg. Note that end-users (visitors) who have older browsers AND no Flash Player installed will not be able to play the audio directly from your web page; they will be presented with a download link instead.

The format for the WordPress audio shortcode is:

[audio http://YOURFILEURL]

You, of course, will need to replace “http://YOURFILEURL” with the actual URL of your audio file. Complete instructions follow.

  1. You can either upload the audio to your Media Library; or open a post or page in edit mode and click “Add Media.”
Click either "Add New" link to open Insert Media window

Click either “Add New” link to open Insert Media window

Add Media from Edit window

Add Media from Edit window

  1. After your media loads the window changes to show your uploaded file in your Media Library.  With that file selected, copy the URL of your audio file from the “Attachment Display Settings” area of the window’s right panel.
    Copy URL of audio file from Attachment Display Settings panel

    Copy URL of audio file from Attachment Display Settings panel

  2. Close the Media window.
  3. In the content editor for your page or post, create a new line type:
    [audio ]
  4. Then paste the URL for your audio file IN FRONT OF the last bracket.
    Enter shortcode , then paste URL for audio file in front of last bracket

    Enter shortcode [audio ], then paste URL for audio file in front of last bracket


    Notice that you can omit the first part of the full URL (http://teachers/k12albemarle.org)