Multiple Editors in WordPress

I wanted multiple editors in a custom post type that I’m developing in WordPress. I spent my Tuesday cobbling together a solution from articles I found online such as How to Use Multiple WordPress WYSIWYG Visual Editors, Supporting Multiple Visual Editors over at the WordPress Support forum, and a bunch of other links that came up first when I was researching.  I got my multiple editors, but without the Visual/HTML tabs, and without the Media Uploader.

I started my Wednesday morning by finding wp_editor(). This function, introduced in WordPress 3.3, will output all of the HTML needed and enqueue all of the appropriate scripts and styles needed for any number of editors.  Unless you have to support older versions of WordPress, don’t waste your time writing your own solution, just use this amazing built-in function.