akv292

Template for WP_Alchemy Multiple Visual Editors

Mar 16th, 2011
338
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. <div class="detail_specs">
  4.     <?php $mb->the_field('detail_specs'); ?>
  5.     <div class="customEditor">
  6.         <div class="custom_upload_buttons" class="hide-if-no-js"><?php do_action( 'media_buttons' ); ?></div>
  7.         <textarea name="<?php $mb->the_name(); ?>"><?php echo wp_richedit_pre($mb->get_the_value()); ?></textarea>
  8.     </div>
  9.     <span>These images show up when the user clicks on the 'Detail' link on the product page.</span>
  10. </div>
RAW Paste Data