My Favorite WordPress Resources

Really. There are a lot of WordPress resources out there, with fancy tutorials and snippets and thingamajigs, but 99% of my questions are answered in one of the above 2 sites.

Once I’ve got  piece of code working the way I want, I save it so I can refer to it later. I’m working on consolidating all my working code snippets, but for now they can be found on this site, or in github gists (as well as in some of my plugins). Some are still in the mu-plugins folder of my local development site, I’m working on getting those cleaned up and online.

Including Custom Fields Inside Your Post

WordPress/TinyMCE will sometimes remove code that you’d rather it not. For example, have you have tried to add a Google Map to a post without the aid of a plugin? You can’t. The iframes aren’t allowed.

Because of this, and a few other similar instances, I wrote a plugin that would let me easily bypass this filters. Continue reading

Confirm Email Address

If you’re running a WordPress network, and depending on how you’re using it, you may need to get users to confirm or update their email address.

In my situation, I build a lot of sites for clients, and during development I use an email address of my own so they don’t get bombarded with emails they don’t need. But I don’t always change it back when I’m done, or maybe there’s a typo. Or maybe it’s the client that has changed their email address.

Whatever the cause, sometimes these things just need to be double-checked and confirmed. So here’s a small plugin that can be dropped in your mu-plugins folder:

Continue reading

Add WYSIWYG controls to a particular custom field

Notes

As of WordPress 3.2, this implementation can be finicky – mostly an issue with inserting images into the right editor.

However, WordPress 3.3 (as of this note, is in beta 2) in getting an Editor API which will make adding 2nd (and 3rd…) editors to a single page much more reliable. If you don’t see me post an update by the end of the year – 3.3 has a tentative release date of sometime near the end of November 2011 – ping me here or on twitter @trepmal.

Download

I work with a lot of less-than-tech-savvy people. Explaining how to use custom fields on their WordPress site is scary for both of us…

So I’ve been working on this plugin, this is definitely still rough around the edges, so if you spot any major issues, please let me know. Continue reading