Eloquent

Описание

Eloquent is an awesome front-end editor for your website. Edit posts and pages directly from your website front-end!

It is not a full-featured editor like the WordPress editor in the admin panel, but it is a great solution for your not-too-tech-savvy clients to quickly edit existing posts and pages, right where they see them.

Features:
* Edit post/page title and content directly on the front end, with the same rich-text tools ContentTools provides
* Upload images straight to the WordPress Media Library — rotate and crop before inserting, no separate media step
* Pick which of your theme’s own CSS classes are offered as one-click styles in the editor, curated from Settings / Eloquent
* Autodetect title/content selectors for your active theme, so there’s nothing to hand-configure on a typical site
* Draft support — unpublished entries can be edited and published straight from the front end

Try it instantly on tastewp.com!

Скриншоты

Установка

  1. Upload the plugin files to the /wp-content/plugins/eloquent directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress.
  3. Use the Settings -> Eloquent screen to configure the plugin: set up title/content selectors (or use Autodetect) and pick which theme CSS classes to offer in the editor.
  4. Enjoy using Eloquent!

Часто задаваемые вопросы

How do I upload images to the WordPress media library?

Use the image tool in the front-end editor — it uploads straight into your Media Library, the same place block-editor uploads go. Rotate and crop it before inserting; there’s nothing extra to configure.

The Autodetect option isn’t detecting selectors, what do I do?

Set the selectors manually on the Settings / Eloquent screen. Use your browser’s «Inspect element» tool on your theme’s post title and content area to find their CSS classes.

Can I choose which CSS classes are available in the editor?

Yes. The «Editor styles» section on Settings / Eloquent lets you scan your site for classes your theme already uses (or add one manually), then pick which ones appear as one-click styles in the element properties dialog.

I changed my theme and the editor stopped showing up, why?

Different themes use different CSS classes for the title and content area, so Eloquent needs to re-detect (or be told) the new selectors. You’ll see an admin notice after a theme switch linking straight to the settings screen.

Отзывы

10.02.2023
Handy front-end editor. It would be better to add several functions if possible: Directly create a new article editor in the front end Category can be selected
Посмотреть все 3 отзыва

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

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

Участники

Перевести «Eloquent» на ваш язык.

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

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

Журнал изменений

1.0

  • Fixed a bug where saving through the editor stripped Gutenberg’s block markers, breaking the block editor on any post edited through Eloquent
  • Images now upload to the WordPress Media Library instead of being embedded as base64 data in post content; rotate and crop are handled server-side
  • Added a curated CSS class picker («Editor styles») so theme classes can be applied to elements from inside the editor
  • Fixed autodetection: the placeholder entry it creates is previewed rather than opened directly, so it no longer 404s on the front end
  • Moved front-end save/publish/selector actions to the REST API, with proper capability checks and nonces
  • Bundled SweetAlert2 locally instead of loading it from a CDN
  • Updated ContentTools to 1.6.16
  • General code cleanup and hardening (capability checks, output escaping, translatable strings)

0.2

  • Updated SweetAlert
  • Updated ContentEditor

0.1

  • Initial version