how to get a wysiwyg editor in custom field wordpress

I want to set up a custom field in the admin section of WordPress so that a client can go in and edit the content of the custom field without having to hard-code things with HTML.

I’ve looked at this post, but I’m not sure if this is really applicable to my case.

Read More

Does anyone know a quick/easy way to do this?

For further clarifcation, I bring in custom fields to my page like this:

<div id="greybackground"> <div id="greycontainer">
    <?php echo get_post_meta($post->ID, 'greycallout',true) ?></div></div>

Related posts

Leave a Reply

3 comments

  1. $settings = array( 'media_buttons' => false,'quicktags' => false );
    $content = 'Optional Message For Your Friend here... ';                     
    $editor_id = 'postcueeditor';
    wp_editor( $content, $editor_id,$settings );
    

    paste this code where you want editor to appear. $_REQUEST['postcueeditor']; will contain data posted by the editor.

  2. fyi check this addon which will allow you to add taxonomies to custom fields. the addon will allow you to save custom field taxonomy back to post terms. since addon doesnt currently support adding new terms, i used selectize.js (similar to chosen and select2, but without the code bloat). selectize.js has autocomplete and the ability to add new options on the fly. now you can manage taxonomies from advanced custom fields.

    Good Luck