Support » Plugin: Front-end Editor for WordPress » Works fine with 2 customizations

  • michel1991

    (@michel1991)


    For those who work with a newer WP version with the build in REST API, you can add :
    return;
    after:
    function check_rest_api_plugin() {
    In class-fee.php in the root of the plugin folder. Now you dont need the WordPress Rest Api plugin.

    It seems like PUT and PATCH are not supported anymore and the new route for updating is a post to /pages/500 for example.
    You can fix this by editing fee.js in the js folder.
    Change line 23 to:
    return Backbone.sync(‘create’, model, _.clone(options)).then(function (data, text, xhr) {
    So update method to ‘create’.

    Hope this works for others, cause this plugin seems to be the best free front end editor 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
  • That worked, you’re a lifesaver!

    Hey Michel,

    I previously used your fix to get this plugin to function, and it worked wonderfully. However, after temporarily uninstalling and then reinstalling, it no longer seems to link the ‘Edit’ link to the Front-End Editor, but redirects to the backend instead. Would you perhaps have any idea of what might cause this problem, and how to fix it?

    All the best,

    Julian

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Works fine with 2 customizations’ is closed to new replies.