Advertisement
akv292

Setup WPAlchemy_MetaBox for Multiple Visual Editors

Mar 16th, 2011
461
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.41 KB | None | 0 0
  1. // This script is for multiple tinyMCE editor fields
  2. // REF: http://farinspace.com/multiple-wordpress-wysiwyg-visual-editors/
  3. <?php
  4.     // create the meta box
  5.     $product_details_metabox = new WPAlchemy_MetaBox(
  6.         array(
  7.             'id' => '_product_details',
  8.             'title' => 'Design Specs / Details',
  9.             'template' => TEMPLATEPATH . '/includes/metabox_templates/products-design.php',
  10.             'types' => array('products')
  11.         )
  12.     );
  13. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement