I have recently come across the wp_editor function and I am having trouble getting it to work.
Here is my code to generate it:-
<?php $settings = array('wpautop' => true, 'media_buttons' => true, 'quicktags' => true, 'textarea_rows' => '25'); wp_editor(html_entity_decode($profileuser->description), 'description', $settings); ?>
This shows the box perfect in the admin area. However if i type in it and update the content is not saved or shown in the box.
How can I save the content and how can I then display the content within my theme?
Any help would be great. As this will solve a lot of my theme issues.
- The topic ‘wp_editor usage’ is closed to new replies.