WordPress.org

Ready to get started?Download WordPress

Forums

wp_editor usage (1 post)

  1. obidos
    Member
    Posted 1 year ago #

    Hi all,

    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.

    Thank you,

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags