Use this class: http://www.deluxeblogtips.com/p/meta-box-script-for-wordpress.html
and then call the metabox like this (don’t forget to read the manual and view some examples):
$meta_boxes[] = array(
'id' => 'textmetabox',
'title' => 'Your Meta Box Title',
'pages' => array('post', 'slider', 'whatever-your-cpt-is'),
'fields' => array(
array(
'name' => 'Your thoughts about Deluxe Blog Tips',
'id' => $prefix . 'thoughts',
'type' => 'wysiwyg',
'std' => '<b>It\'s great!</b>',
'desc' => 'Do you think so?',
'style' => 'width: 300px; height: 400px'
)
)
);
Related Posts:
- Visual editor issue by having multiple tiny mce editors in a CPT
- How to use TinyMCE Editor for one of my custom post meta field?
- wysiwyg editor don´t export paragraph
- Multiple Custom Metabox Help
- wp_dropdown_categories in custom post type with custom taxonomy
- How can I add a column/s to wp_posts table?
- Add / Remove Post Type from “Link to existing content” popup
- Remove tabs from media uploader for a CPT
- Find callback function for custom taxonomy metabox
- Add special meta box to custom post type
- Custom field values get deleted
- Priority of Meta Box for Custom Post Type
- Remove tinyMCE from admin and replace with textarea
- Using ‘strtotime’ function to convert a custom-meta-box to a date-stamp
- How to Change the Title of a Meta Box on a Specified Custom Post Type? [duplicate]
- How to save the checked boxes?
- Adding Custom Metaboxes to Custom Pages
- add_meta_box: Datepicker like the one for postdate?
- Save or update data when custom post published
- Custom metabox translation
- Custom Post Type Meta Boxes
- Formatting custom meta box date from YYYY/MM/DD to a more readable alternative
- Using WPAlchemy metabox values in another metabox
- Dynamically add / duplicate custom meta in custom post types
- Custom Post Type Metabox – Not Saving
- WordPress custom meta field for custom post not storing data
- How to Duplicate (multiple meta box)?
- List of Posts in a Custom Field
- Add Standard Page Attributes Metabox for Page Parent
- dynamically add a custom field or metabox to custom post type [duplicate]
- Custom date changer post_date => future – missed schedule error
- Display correctly using metabox.io
- Translating custom post type metaboxes [closed]
- Adding a metabox on a CPT’s submenu page
- How to Add multiple instance of meta box to custom post type
- Global custom meta box
- Add additional field to custom post_type
- Add a custom meta box for client to order CPT posts how they want
- Save Multiple Metabox values
- Custom post type editor uses old tinyMCE
- create custom meta box with default value
- Create metaboxes based on custom post type
- How to Echo Metadata Value in Currency Format
- Issue on Working with Metabox – Checkbox to enable Sale Items
- Problem with $post_id object’s property
- How To Display A List Of CPT Posts In A Meta Box On Menus Page?
- populate array with posts
- How to make a meta box?
- Forms and WordPress Nonce
- Why do I have to press the “Update” button twice to save my meta box values?
- Prevent custom post type from showing up in custom menus
- CMB2 metabox create select with list of post from CPT
- Odd behaviour for the update button when displaying a WP_List_Table
- Creating alternate meta box context locations
- Meta box data is saved but NOT displayed in the meta box text field. Why?
- Adding custom post formatting options in custom post types
- Custom meta box in custom post type not working
- WP_Meta_Query object with conditionals
- Query Custom Posts – Add To Selection
- I can’t connect my custom jquery to wp admin
- Saving meta box data?
- Invalid file type when using wp_upload_bits to upload PDF to a custom post type
- Metabox does not show in custom post type
- How to sum values from all custom posts metabox
- One Custom Post Type two different Templates
- Include a metabox in the ‘home’ screen of a custom post type? If not, then the dashboard page?
- How to recover the post ID earlier in the WP admin hook action “firing” sequence?
- Saving a Custom Post Type with a Meta Box results in a “Updating Failed” error
- Adding accordion-section to custom post type edit screen
- I’m having trouble with Related Product “tax_query” ‘terms’ value
- How to get custom post type with dynamic ID
- Create Post Types from a XML url (Real Estate website)
- Custom metabox with image gallery upload that won’t attach images to post
- wp_editor in custom post type is not saving formatted text like bold, italic etc
- Wp Query sort order from custom MetaBox
- Admin metabox with custom post type dropdown option not update choosed input after saving
- Dropdown of existing posts in a metabox
- php output of generated custom metabox
- How to retrieve custom post type permalink in another cpt?
- Meta Box not being added in plugin
- do action inside a class is not working
- How to add a custom meta box below publish box in CPT that is like publish meta box and can contains html?
- Unable to get the values for metaboxes for custom post type
- Search form to find custom meta box generated data
- Problem with ‘save_post’ hook not running
- Edit post meta direct from post.php?
- How to Arrange Support => Thumbnail
- Howto: use existing post_meta as options for a different metabox (checkboxes or list)
- WPAlchemy Metabox rewriting slug
- Custom metabox value not saving
- Yearly Archive from a custom date metabox (Event Start Date)
- Loading one meta box only on post-new.php with a forward link
- Textarea type on one field custom add_meta_box?
- loop through custom post-type with two meta_keys
- Extending a CPT by Created by another plugin
- Custom Post Type + Custom Meta Query Not Showing 2012 Posts
- Adding a custom “Add Custom Field” button to Custom Meta boxes
- add a “list” into add meta box : problem
- CPT Template Option to Top
- Use a Variable in update_post_meta as the $meta_key