Hide Editor For Page Templates

Descrizione

A simple and nice plugin to hide classic editor or gutenberg from pre selected page templates. If the installation is okay, go to the settings > hide editor. If your current theme has pre-made page templates, you can select page templates where you want to remove/hide editor. You can also restrict the hiding to specific user roles, so other roles still see the editor. It’s very easy to do.

Screenshot

Installazione

Installation is fairly straight forward. Install it from the WordPress plugin repository.

FAQ

Q: Can I hide the editor only for certain user roles?
A: Yes. On the Hide Editor settings page, use the “Restrict to User Roles” field to select which roles the editor should be hidden for. Leave it empty to hide the editor for everyone, as before.

Recensioni

Non ci sono recensioni per questo plugin.

Contributi e sviluppo

“Hide Editor For Page Templates” è un software open source. Le persone che hanno contribuito allo sviluppo di questo plugin sono indicate di seguito.

Collaboratori

Changelog

1.1.0

  • Add: restrict editor hiding to selected user roles, leave empty to apply to everyone.
  • Fix: settings page assets could be queued with an unchecked $_GET['page'] value.
  • Fix: script cache-busting used time(), forcing a fresh download of plugin JS on every page load.
  • Fix: removed the discouraged load_plugin_textdomain() call and the Domain Path header pointing at a nonexistent languages/ folder – WordPress.org has auto-loaded plugin translations since 4.6.
  • Fix: post ID from the URL is now read with absint() instead of a sanitize_text_field()/esc_html() combination meant for output escaping, not input handling.
  • Fix: text domain didn’t match the plugin slug (hide_editor vs hide-editor-for-page-templates), and two strings were printed with _e() instead of an escaping variant.
  • Housekeeping: plugin options are now removed on uninstall.

1.0.0

  • Initial Release