Archives

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. (more…)

Adding More Classes to wp_list_pages()

Download

If you’re trying to style nested items in wp_list_pages() the task can be daunting. You’ll apply a style to an <li> then have to unapply those styles for the nested <li>s, and if you’re dropdowns get any deeper, you CSS can become overwhelming. It’s a little better if you don’t care about IE, because then you can use those fancy CSS selectors like ul > li, or ul li > li to target certain depths. But if you’re stuck fighting with IE, maybe this will help.

(more…)

Customize Default WordPress Avatar

Update: I recommend using my completely new version Add New Default Avatar. Click the link to go check out the details. This plugin is no longer being maintained.

Not happy with the default avatar options built into WordPress? Neither was I (actually, I never gave it much thought – someone else pointed it out to me).

So, I put my fingers to work and made a plugin that will allow you to a new picture and set it as the fall-back options for commenters without gravatars. Other features include:

  • Enable/Disable without activating/reactivating
  • WPMU compatible

Questions/Comments/Issues? Let me know in the comments. (more…)