11

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 4

3

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.

1
  • Thanks for resurrecting this 2010 question! And yes indeed, Advanced Custom Fields is the way to go in 2013. :-)
    – artlung
    Commented Dec 11, 2013 at 20:34
6

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...)

0
3

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.

screenshot of the example plugin

2

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.)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.