WordPress editor meta box

Written by Zak on November 13, 2014

I recently had to create a second WYSIWYG field in a WordPress build. I couldn’t find an article that explained the whole process so thought it would be a perfect tutorial to write up. The code below has been commented to explain each part of the process required to add a meta box and add a HTML editor into it.

This code can be pasted directly into your theme’s functions.php file.