wysiwyg.php 931 B

12345678910111213141516171819202122232425262728
  1. <tr valign="top">
  2. <th scope="row" class="titledesc">
  3. <?php if (!empty($title)): ?>
  4. <label for="<?php echo $id; ?>">
  5. <?php _e( $title, 'woo_laybuy' ); ?>
  6. </label>
  7. <?php endif; ?>
  8. </th>
  9. <td class="forminp">
  10. <fieldset>
  11. <?php if (!empty($title)): ?>
  12. <legend class="screen-reader-text">
  13. <span><?php _e( $title, 'woo_laybuy' ); ?></span>
  14. </legend>
  15. <?php endif; ?>
  16. <?php
  17. wp_editor(html_entity_decode($value), $id, array(
  18. 'textarea_name' => $name,
  19. 'editor_class' => $class,
  20. 'editor_css' => $css,
  21. 'autop' => true,
  22. 'textarea_rows' => 8
  23. ));
  24. ?>
  25. <p class="description"><?php _e( $description, 'woo_laybuy' ); ?></p>
  26. </fieldset>
  27. </td>
  28. </tr>