ROOTS-index

描述

*このプラグインはグーテンベルグの見出しブロックから目次を作成します
*管理画面の設定に「ROOTS-index」が追加されます
*ショートコード[roots_index]を埋め込むことで目次を表示できます
*アコーディオン機能を実装するための最小限のCSSとJavaScriptを使用することができます
*アコーディオンメニューを最初から開いた状態にすることができます
*目次ラベルの文字列を変更することができます
*目次の色を変更することが出来ます
*目次のborderの角丸サイズを変更することができます

*This plugin creates a table of contents from Gutenberg heading blocks
*”ROOTS-index” will be added to the settings of the admin screen
*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
*You can change the color of the table of contents
*You can change the rounded corner size of the border of the table of contents

Short Description

*このプラグインはグーテンベルグの見出しブロックから目次を作成します
*管理画面の設定に「ROOTS-index」が追加されます
*ショートコード[roots_index]を埋め込むことで目次を表示できます

*This plugin creates a table of contents from Gutenberg heading blocks
*”ROOTS-index” will be added to the settings of the admin screen
*You can display the table of contents by embedding the shortcode [roots_index]

Arbitrary section 1

屏幕截图

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

安装

  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.

常见问题

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

このプラグインは、最終的な JavaScript および CSS アセットをビルドするために webpack と npm を使用します。

ソースファイルは src/ ディレクトリにあります。

コンパイルされたアセットは assets/js/assets/css/ にあります。

プラグインアセットをローカルでビルドするには:

  1. 依存関係をインストールします:
    npm i’

    1. アセットをウォッチします:
      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

评价

此插件暂无评价。

贡献者及开发者

「ROOTS-index」是开源软件。 以下人员对此插件做出了贡献。

贡献者

帮助将「ROOTS-index」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志