Headingo

描述

Headingo is a lightweight utility plugin that allows administrators to control which heading levels are available in the editor toolbar. This tool only works for websites using the Classic Editor.

These settings are applied to all users with editing permissions.

The configurable heading levels are:

  • Heading 1
  • Heading 2
  • Heading 3
  • Heading 4
  • Heading 5
  • Heading 6
  • Preformatted

This is especially useful for removing the Heading 1 (H1) option to prevent editors from mistakenly selecting it, as well as removing heading levels which are not required on your website.

This plugin is intended for websites that rely on the Classic Editor editing experience. It does not attempt to modify the Block Editor (Gutenberg), where heading availability is governed by editor and theme configuration (theme.json) by design. The Classic Editor plugin is required for this plugin to work (or a theme that allows you to switch to the Classic Editor without the plugin).

Classic Editor

The Classic Editor (TinyMCE) is fully supported. Selected heading levels and Preformatted can be hidden from the formatting dropdown while remaining available via keyboard shortcuts or pasted HTML. The Paragraph option is always available and cannot be toggled.

Block Editor (Gutenberg)

This plugin does not control heading levels in the Block Editor. Gutenberg does not currently provide a reliable API for plugins to override available heading levels, as these are controlled by editor and theme settings.

安裝

  1. Install and activate the Classic Editor plugin, or enable it in your theme settings if applicable
  2. Upload and activate this plugin
  3. Configure under Settings Heading Visibility

評價

There are no reviews for this plugin.

貢獻者及開發者

“Headingo” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

Headingo 外掛目前已有 6 個本地化語言版本。 感謝所有譯者為這個外掛做出的貢獻。

將 Headingo 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

1.1.0

  • Added a redirect to the Headingo settings page after initial activation.
  • Added a link to the plugin settings page from the Plugins list.
  • Updated the slug for the Headingo settings page.
  • Tested up to WordPress version 7.0.

1.0.0

  • Initial release.