akv292

Setup WPAlchemy_MetaBox for Multiple Visual Editors

Mar 16th, 2011
370
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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. ?>
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×