Linux 软件免费装

ROOTS-index

开发者 14chan
更新时间 2025年5月14日 13:58
PHP版本: 8.2 及以上
WordPress版本: 6.8
版权: GPLv2
版权网址: 版权信息

标签

navigation cms indexes table of contents toc

下载

1.0.0 1.0.1

详情介绍:

このプラグインはグーテンベルグの見出しブロックから目次を作成します ショートコード[roots_index]を埋め込むことで目次を表示できます 独自のテーマを適用することができます アコーディオン機能を実装するための最小限の CSS と JavaScript を使用することができます アコーディオンメニューを最初から開いた状態にすることができます 目次ラベルの文字列を変更することができます This plugin creates a table of contents from Gutenberg heading blocks You can display the table of contents by embedding the shortcode [roots_index] You can apply your own theme You can use minimal CSS and JavaScript to implement the accordion function You can set the accordion menu to be open from the beginning You can change the string of the table of contents label

安装:

  1. WP 管理パネルから、「プラグイン」->「新規追加」をクリックします。
  2. ブラウザの入力ボックスに「ROOTS-index」と入力します。
  3. 「ROOTS-index」プラグインを選択し、「インストール」をクリックします。
  4. プラグインを有効化します。
  5. From the WP admin panel, click “Plugins” -> “Add new”.
  6. In the browser input box, type “ROOTS-index”.
  7. Select the “ROOTS-index” plugin and click “Install”.
  8. Activate the plugin.

屏幕截图:

  • option  checkbox.
  • option  color number.
  • option  save changes . back btn.
  • add shortcode

常见问题:

プラグインアセットをローカルでビルドするにはどうすればよいですか?

このプラグインは、最終的な JavaScript および CSS アセットをビルドするために webpack と npm を使用します。 ソースファイルは src/ ディレクトリにあります。 コンパイルされたアセットは assets/js/assets/css/ にあります。 プラグインアセットをローカルでビルドするには:

  1. 依存関係をインストールします: `npm i'
  2. アセットをウォッチします: `npm run watch'
これは編集されたファイルを保存すると自動でコンパイルされます または、GitHub でソースコードとビルド手順を参照することもできます: https://github.com/14-chan/ROOTS-index

How do I build the plugin assets locally?

This plugin uses webpack and npm to build the final JavaScript and CSS assets. Source files are located in the src/ directory.\ Compiled assets are located in assets/js/ and assets/css/. To build the plugin assets locally:

  1. Install dependencies:\ npm i
  2. Watch assets:\ npm run watch
This will be automatically compiled when you save the edited file. Alternatively, you can find the source code and build instructions on GitHub:\ https://github.com/14-chan/ROOTS-index