I’ve recommended the WPAudio plugin for placing easily playable and downloadable audio files on your WordPress site. But with the release of WordPress 3.2 in 2011, the plugin stopped working on many sites (including mine).
In this post, I’ll show you how to get this plugin working again.
Fair warning: This fix involves directly editing the plugin’s source code. I’ve provided all the necessary code so you can just copy and paste. This has worked on all the sites I’ve tried it on, but it’s possible that it won’t work for you — you might have a different hosting setup or a plugin conflict that I haven’t run across.
But even if this fix doesn’t take, really, the worst that can happen is that your copy of the WPAudio plugin still won’t work. What I mean is, a copy-paste mistake isn’t going to break your entire site or erase your database or anything disastrous like that.
Why you might not want to fix this plugin at all
I chose to research the fix because I like to know how things work, I’ve got a hardcore DIY streak, and I’m stubborn — I like the way WPAudio looks and works and I just don’t want to switch, doggone it.
However, I fully realize that I might be in a tiny minority here and that you might decide that it’s just easier and simpler to switch to a different audio player on your WordPress site. And that is totally OK (I’m actually researching some WPAudio alternatives and will post about those later this week).
One big reason to switch to a different plugin is that WPAudio’s author is no longer supporting it or releasing new versions. WordPress will continue to change and improve, and it’s very possible that future versions of WordPress will break this plugin again. So this code fix is a bit like wrapping a frayed wire with electrical tape — a temporary measure that’s fine for now but not built to last.
Still here? On with the tinkering!
Step 1: Download these two text files. You’ll need to copy and paste their contents later in these instructions. Right-click (on a PC) or CTRL-click (on a Mac) the filename, and choose “Save Link As” or the closest equivalent.
Step 2. Open the files in a text editor (Notepad, TextEdit, or the like). Because they have the .txt suffix, they may automatically open with the right application if you simply double-click them.
Step 3. In your WordPress dashboard, go to Plugins –> Editor.

Step 4. Choose “WPaudio” in the drop-down list at the top right corner of your Plugin Editor screen. When you first arrive at this screen, it will show the first plugin in alphabetical order (often Akismet). After you select WPaudio, click the “Select” button next to the drop-down menu and you will then see a list of that plugin’s source files.

Step 5. In this list, click the link labeled “wpaudio-mp3-player/wpaudio.js” to display the contents of that file in the editing pane. It should begin with these lines:
/* * WPaudio v3.1 (http://wpaudio.com) * by Todd Iceton (todd@wpaudio.com) * * Converts an mp3 link to a simple player styled by HTML & CSS, powered by HTML5 with SoundManager2 Flash fallback
Step 6. Copy the entire contents of the first text file you downloaded — the one called wpaudio.js.txt — and replace the entire contents of the wpaudio.js file onscreen with your copied text. You want to completely overwrite the file contents, so in the WordPress Editor screen you can either Select All and Paste, or Select All and Delete before Pasting.
Step 7. Click the blue “Update File” button at the bottom of your screen. You should see a success message appear at the top of your screen that reads “File updated successfully.”
Step 8. Repeat steps 5, 6, and 7 with the file named wpaudio.min.js. You’ve just replaced the entire contents of two of the plugin’s source files, and saved your changes. Your site is still there, right? No smoke coming out of your hard drive? Good! On to the final step:
Step 9. Go to Settings –> WPaudio, and click the blue “Save Changes” button at the bottom of the screen. It’s a good idea to check the settings to make sure they’re correct, but go ahead and click the blue button even if you don’t make any changes. This is similar to refreshing a web page to get the latest version — you want your copy of the plugin to read the new code you added.
Now go test one of your audio files on your site. Fingers crossed that it plays the way it is supposed to! And if not, stay tuned for my upcoming post on audio player alternatives (you can subscribe to get updates in your inbox or grab the RSS feed to get it in your reader). And feel free to leave a comment if you have a favorite WordPress audio plugin, too!
It’s important to note that I didn’t do this coding work on my own. All the code fixes came from helpful users on the WordPress.org support forum; I’m merely trying to let more people know about these fixes, and maybe make them a bit less scary to implement. Here are the original posts describing the code changes:
- WordPress.org support forum post with code fixes from forum user rahul286
- WordPress.org support forum post with code fixes from forum user waffl
- WordPress.org support forum post with code fixes from forum user Ursula (aka WP Gal)
Frayed cord image by blmurch on Flickr, used under a Creative Commons ShareAlike License






It’s the darkest day of the year.



Comment moderation, censorship, and SOPA
And then I tweeted and Facebooked to ask people to sign up for my upcoming WordPress Swimming Lessons group coaching class (deadline to sign up is Friday, January 20, and I’m not accepting any new client work in February, so this is definitely a case of Legitimate Urgency).
A Facebook friend gently chided me for making it harder for people to sign up for my class.
She’s right. I did make it harder. Not on purpose; not to force people away from my site. There was, after all, a “continue to site” link right on the splash page (though I can see how it was easy to miss), and the splash page only showed up once for each visitor (and I know full well that “just once” may have turned people away).
But I didn’t shut down my business or my website. I continued to work, plan, and hang out online at the same time that I was protesting. And I responded, in part, “I know it might not seem sensible, but… neither does SOPA/PIPA.”
And I’ll do it again on Monday, January 23. Because as Allison Boyer noted over on BlogWorld’s blog, SOPA and PIPA matter more today than they did yesterday. It’s not just about defeating one or two particularly badly written bills; it’s about crafting laws that uphold everyone’s rights (and I say that as a business owner as well as a citizen).
Is moderating blog comments online censorship?
Anyway, I got to thinking about the phrases that get thrown around about “stopping censorship.” And I wondered if anyone (other than my Internal Voices Committee, which always has something to complain about) could legitimately accuse me of censorship because I moderate my blog’s comments.
According to my pals at Merriam-Webster, the transitive verb “censor” means “to examine in order to suppress or delete anything considered objectionable.”
By that definition, yes, I am engaging in censorship merely by moderating comments, even if I approve all of them, simply because I am examining them in order to make a decision! Interesting, eh?
Now, the definition of “censorship” contains this, among other definitions: “censorial control exercised repressively.” Here I could go down the rabbit hole of looking up the definitions of “repress” and “control” and so on, but I’ll simply say this: Even if I exercise my censorial control repressively here on this one website (which I don’t believe is true in the first place), the Internet is far bigger than me and my one-person business site. There are so many other venues for online expression that to claim that I could be acting repressively is honestly kind of funny.
Further, I believe that every website owner has the same right — to delete content that doesn’t meet their standards. Whatever those standards might be. And I think this view is consistent with wanting to stop the government from stepping in and making those content-removal decisions without the benefit of due process.
I stand by my decision to moderate, and I’ll state for the record that yep, I will absolutely delete anything I consider objectionable. This is my blog, my website, and my online home. No one gets to enter without my permission. I am the sole and final judge of what counts as objectionable here.
That said, I can count on one hand (with a few fingers left over) the number of times I’ve manually deleted comments. Evidence shows that 99.6% of my real, human commenters are just fine, simply because they are real and human. And my moderation process reflects that — if a given user’s first-ever comment is approved, my site will automatically approve and post additional comments by that user.
(Manually deleting comments doesn’t include spam or robots, which are automagically filtered quite well by a combination of two plugins (Akismet and WP-Hashcash) and a comment blacklist that screens for certain non-Roman characters.)
What about you? Do you have a comment policy? Why or why not? How is it working out for you? Want to see how fast I approve comments?