danyz (July 27th, 2013)
<div class="form-field"><label>
<?php _e( 'Business Description', APP_TD ); ?>
<textarea name="post_content"><?php echo esc_textarea( $listing->post_content ); ?></textarea>
</label></div>
<div class="listing-editor"><label>
<?php _e( 'Business Description', APP_TD );?>
</label></div>
<?php
$settings = array(
'textarea_name' => post_content,
'wpautop' => true,
'media_buttons' => false,
'tinymce' => array(
'theme_advanced_buttons1' => 'bold,italic,underline,blockquote,justifyleft,justifycenter,justifyright,justifyfull,forecolor,backcolor,removeformat',
'theme_advanced_buttons2' => 'formatselect,bullist,numlist,outdent,indent,image,hr,link,unlink',
'theme_advanced_buttons3' => '',
'theme_advanced_buttons4' => '',
'content_css' => get_stylesheet_directory_uri() . '/editor-styles.css'
),
'quicktags' => false
);
wp_editor( $listing->post_content, listingeditor, $settings); ?>
/* ========== Add styles to the WYSIWYG editor ========== */ add_editor_style('editor-styles.css');
danyz (July 27th, 2013)
enrique_traun (July 28th, 2013)
There are currently 1 users browsing this thread. (0 members and 1 guests)