Add WYSIWYG controls to a particular custom field


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.


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 Add WYSIWYG controls to a particular custom field

Change “Howdy” to Something Else

I’ve got nothing against the “Howdy” greeting in WordPress, but in case you do, this little snippet might just help you out.

It’s currently set to change “Howdy” to “Yo.” Just drop this in your functions.php file. I’ll turn it into a spiffy plugin later… Continue reading Change “Howdy” to Something Else

Adding More Classes to wp_list_pages()


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.

Continue reading Adding More Classes to wp_list_pages()