• I have set up a members site where members only have access to their profile page, everything else is hidden.

    The members have no idea of basic html so I need to add a basic version of TinyMCE (or similar to what we have here) to the text field on the profile page.

    I can’t see any switch to allow this. Is it possible?

    TIA.

Viewing 2 replies - 31 through 32 (of 32 total)
  • I don’t get why you guys have so much code but then my version doesnt work yet because content on submission is the original content put into the editor on loading.

    None of your methods work for me! You all talk like you just put that code in your page then use the function but it always creates a blank page.

    This is what displays the editor for me but as I said not perfect yet.

    <?php

    wp_tiny_mce(true);
    add_filter(‘teeny_mce_buttons’, ‘teeny_mce_buttons’);
    wp_enqueue_script(‘page’);
    wp_enqueue_script(‘editor’);
    do_action(‘admin_print_scripts’);

    wp_enqueue_script(‘thickbox’);
    add_action( ‘admin_head’, ‘wp_tiny_mce’ );
    wp_enqueue_script(‘editor’);
    add_thickbox();
    wp_enqueue_script(‘media-upload’);
    wp_enqueue_script(‘word-count’);

    the_editor($post_content, ‘content’);

    ?>

    @ R-A-Y

    I found that Brayne’s second solution works perfectly.

    @ Brayne

    THANK YOU!

Viewing 2 replies - 31 through 32 (of 32 total)
  • The topic ‘TinyMCE on Profile page’ is closed to new replies.