WordPress.org

Ready to get started?Download WordPress

Forums

WordPress Front-end Editor
[resolved] Enable only for admin? (2 posts)

  1. christopheran
    Member
    Posted 4 months ago #

    Wow, this plugin is really impressive. Even has tables!

    I'd like to test this out on my live site real well before I turn contributors loose with it.

    Is there a way I can enable it only for the admin? While letting other users continue the built in wordpress way for the the time being?

    I tried doing this in wp-front-end-editor.php:

    if( current_user_can('level_10') ){
    WP_Front_End_Editor::instance();
    }

    But that just causes an error.

    I have noticed something in testing so far. When a message comes up from wordpress on the front end editor, such as "There is an autosave of this post that is more recent than the version below. View the autosave", there is not a way to dismiss it. It's in the way. Is this a known issue, or maybe just something related to my (aging) theme?

    Thanks for the work that's going into this plugin - it's great!

    Chris

    https://wordpress.org/plugins/wp-front-end-editor/

  2. Janneke Van Dorpe
    Member
    Plugin Author

    Posted 4 months ago #

    Thanks for trying it out!

    This plugin is still in an experimental stage, though it's pretty stable to use. It's not really possible to change its behaviour much because we might change this.

    The autosave notice will be dismissible, don't worry.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.