Disable Full Site Editing

Опис

Allow disabling full site editing in the admin, useful to protect a production site.
A block theme will continue to work as intended on the frontend while making sure the theme can’t be messed up.

⚠️ Full site editing is still fresh.
For the coming months I’ll keep testing the plugin with new (beta) releases of gutenberg and WordPres.

Встановлення

Just install the plugin and activate.
There is an admin settings page or set the DISABLE_FSE constant.

Часті питання

In what order does the plugin check if full site editing is allowed?

  1. The constant DISABLE_FSE set to true/false.
    You can add the constant in your wp-config.php file.
  2. The setting in the wp-admin (a sub page of the tools menu)
  3. The current WP_ENVIRONMENT_TYPE. Docs, A bit more details

How does the `DISABLE_FSE` constant work?

In your wp-config.php paste the following to always disable FSE:

define( 'DISABLE_FSE', true );

or to always enable FSE

define( 'DISABLE_FSE', false );

Відгуки

Для цього плагіна немає відгуків.

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

“Disable Full Site Editing” — проект з відкритим вихідним кодом. В розвиток плагіну внесли свій вклад наступні учасники:

Учасники

“Disable Full Site Editing” було перекладено на 6 локалізацій. Дякуємо перекладачам за їх роботу.

Перекладіть “Disable Full Site Editing” на вашу мову.

Цікавитесь розробкою?

Перегляньте код, перегляньте сховище SVN або підпишіться на журнал розробки за допомогою RSS.

Журнал змін

1.2.0

  • Implemented a far more deed level disabling of FSE. Previously we just removed links in the admin.
    Now we just fake the current theme to not appear as FSE.

1.1.3

  • Fixed an JS error on the widgets page.

1.1.2

  • Removed unused files from SVN

1.1.1

  • The translations via Polyglot now work correctly thanks to Alex Lion

1.1.0

  • Fixed a couple of bugs.
  • Now also tested on multisite.

1.0.3

  • Fixed a JS bug

1.0.2

  • More precise disabling of FSE, it was to broad.
  • Disable adding/editing templates in the editor itself.

1.0.1

  • Added more functions checks.

1.0.0

  • Launch