I want to have my custom field use HTML, how do I do that in such a way that I can use a rich text editor to view the content?
4 Answers
You can use Advanced Custom Fields plugin.
It's pretty easy to use and very powerful, so it's the best choice right now, I guess.
-
Thanks for resurrecting this 2010 question! And yes indeed, Advanced Custom Fields is the way to go in 2013. :-)– artlungCommented Dec 11, 2013 at 20:34
I sometimes use Custom fields Template : http://wordpress.org/extend/plugins/custom-field-template/
You can attribute a type to your field (wysiwyg, list, image...)
See this example on github for an own meta boxes and add your specialy boxes for your type of content. You can also read this post for this example plugin.
http://sltaylor.co.uk/blog/control-your-own-wordpress-custom-fields/
Found this, but I can't comment on whether the approach used is good or not, but it certainly covers what you want to do and more (storing and retrieving data that is not stored as post metadata.)