[resolved] frontend visual edtor doesn't work to authors (2 posts)

  1. summerz
    Posted 2 years ago #

    i made a frontend page and there are few textareas so i change them to wp_editor.

    but it only works to administrator and doesn't work to authors.

    i reduce wp_editors to one. so one wp_editor in a page - still doesn't work to authors.

    my code is simple:

    $settings = array( 'media_buttons' => true );
    wp_editor('some_content', 'name_of_textarea', $settings);

    do you have any ideas to solve this?

  2. summerz
    Posted 2 years ago #

    i figured it out few days later.

    i didn't load wp_footer() on my page for authors because i don't support the admin top bar for authors usually this site.

    i added wp_footer() and it works great.

    i just wanted to know wether there is another option but it works anyway now.

Topic Closed

This topic has been closed to new replies.

About this Topic