Этот плагин не тестировался с последними 3 основными выпусками WordPress. Скорее всего, он уже не поддерживается и может быть несовместим с текущими версиями WordPress.

Front-end Editor для WordPress

Описание

Возможности

  • Draft and edit posts.
  • Autosaves. Just publish when you’re done.
  • Contextual tools. Bold, italic, strikethrough, link, headings, lists and blockquote.
  • Add media with the WordPress media library.
  • Handy shortcuts for lists (*, — or 1.), blockquote (>) and horizontal rule (—).
  • Automatically embed media from this list. Just paste the URL.
  • You can also link text by just pasting the URL over it.
  • Add a featured image, if your theme supports it.

Configure and extend

This plugin is designed to be “plug and play”, but also configurable and extensible.

Toolbars and buttons

You can add more buttons to any of the toolbars with the following filters:

  • fee_toolbar_caret for the caret,
  • fee_toolbar_inline для обычных выборов,
  • fee_toolbar_block для выбора блока.

E.g.

add_filter('fee_toolbar_inline', function($buttons){
  return array_merge($buttons, array('subscript'));
});

You may need to provide extra CSS and JS. See the Codex page and TinyMCE docs for more information about adding toolbar buttons with TinyMCE.

Linking to the editor

You can link to the editor from anywhere on the website with the normal edit link to the admin, and it will be picked up by the plugin. Use edit_post_link or similar.

Custom Post Types Support

add_post_type_support( 'page', 'front-end-editor' );

Убедитесь, что у вас есть поддержка API REST.

Disable

Если вы хотите отключить редактор для определённых записей, вы можете использовать фильтр support_fee.

// Disable for the post with ID 1.
add_filter('supports_fee', function($supports, $post) {
  return $post->ID !== 1;
}, 10, 2);

Отзывы

04.10.2023
This may have in part been abandoned in favor of Gutenberg, but I would like to politely beg that this be updated to work without having to install the old REST API plugin. And perhaps review the code and update anything else that needs a refresh. I understand that many may not see a point. If you have to edit a post, edit it in the back-end. Or, there are a couple of other front-end editing options. But, I have a minimal website (all text) and I want members to be able to edit their plain text posts from the front-end. This works extremely well for that. I should add that I also use a minimal, non-full-site editing theme. I’m sure that helps as I assume this may not work with new block type themes. Please, if the original author cannot due to other more important projects, could someone adopt this?
17.03.2021
So, this simple plugin allows you to easily edit standard ‘posts’ on the front end by adding content. Mostly paragraphs, bullet lists, images, etc. All the standard stuff that you may want in a post. BUT it does it on the front end without having to go into the posts -> edit routine. This does not use Gutenberg and is very simple. It relies on having the Rest API installed. This is installed for you after this plugin if you allow it. What’s nice is you have the ability to allow it to edit other custom post types (e.g. pages). Most people use page builders so this would not work for them but if you have simple site with great content, this will allow you to dip into posts and pages, etc. and edit to your hearts desires. I love it and find it very useful at times. If you want to use your page builder you can always go into the backend and use it, this is just another way of editing. My advice (if you use it) is to use it on ‘posts’ and every day stuff where you just want to bang out some content without all the hassle of going into the backend, etc. Nice one.
03.07.2019
Ok so this plugin hasn’t been updated in 3 years but it still works like a charm! Love it! Thank you!
08.06.2018 2 ответа
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 🙂
02.02.2018
never got off the ground!. No instructions, no settings. Front-end Editor requires WP REST API that will cause errors with Jetpack, Deactivate jetpack and still not work.. giant waste of time A easy, working plugin to do as this plugin claims to do, allow registered user to edit their own post is much needed!..
29.11.2017
Only problem I see here is integrating this will all of the custom fields and post types that have evolved. This plugin is going to need a simple API that programmers can interface with allowing them to create intuitive ways for users to handle Shortcodes, shortcode IN custom fields, custom fields created with things like Redux and ACF… Please do this, its a huge task, maybe if WordPress took people off of Gutenberg and put them onto this we would have a fantastic product!!!
Посмотреть все 69 отзывов

Участники и разработчики

«Front-end Editor для WordPress» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:

Участники

«Front-end Editor для WordPress» переведён на 12 языков. Благодарим переводчиков за их работу.

Перевести «Front-end Editor для WordPress» на ваш язык.

Заинтересованы в разработке?

Посмотрите код, проверьте SVN репозиторий, или подпишитесь на журнал разработки по RSS.