[wordpress插件] Block Navigation块导航

wordpress 插件 文章 2020-03-06 15:50 583 0 全屏看文

AI助手支持GPT4.0

评分
100
描述

Demo演示

-plugins/block-navigation" rel="nofollow">DocumentationGitHub<

-plugins / block-navigation“ rel =” nofollow“>文档 – GitHub <

/p>

/ p>

Block Navigation provides a sidebar with the current post/page’s blocks and some tools to facilitate the editing process in the new Gutenberg editor.

“块导航”在侧边栏提供了当前帖子/页面的块以及一些工具,这些工具可以简化新的Gutenberg编辑器中的编辑过程。

Features

功能

The features are especially useful for nested blocks – blocks that are inside parent blocks which are difficult to select or move in the editor.

这些功能对于嵌套块特别有用-嵌套块位于父块内部,难以在编辑器中选择或移动。

Inside the panel several utilities are included to enhance the UX, such as:

在面板内部,包含了一些实用程序来增强UX,例如:

    • Dragging blocks to a different location
    • 将方块拖到其他位置

    • Moving blocks by click
    • 点击移动方块

    • Selecting blocks
    • 选择块

    • Easily recognising the block from a small snippet of the block’s content
    • 从一小段内容块中轻松识别该块

    The user can select a dark or light color scheme, from the multiple included.

    用户可以从包括的多种颜色中选择深色或浅色方案。

    Plugin and Theme developers

    插件和主题开发人员

    The plugin also provides some features for Plugin and Theme developers, such as:

    该插件还为插件和主题开发人员提供了一些功能,例如:

      • Click and Copy the block’s clientId
      • 点击并复制该区块的clientId

      • Click to console.log helpful data from the block
      • 单击以从控制台中控制台.log记录有用数据

      Usage

      用法

      Inside the Post editor on the right side of the top Block’s Toolbar the plugin icon/button should appear (if not, please read the FAQ below).

      在顶部“块”工具栏右侧的“帖子”编辑器中,应显示插件图标/按钮(如果没有,请阅读下面的常见问题解答)。

      Click the icon/button to open the plugin sidebar.

      单击图标/按钮以打开插件侧栏。

      Credits

      积分

      Images from the readme banner and screenshots belong to Charles Postiaux.

      自述标题中的图像和屏幕截图属于 Charles Postiaux

安装步骤

Installation from the WordPress admin.

通过WordPress管理员进行安装。

    1. Log in to the WordPress admin and navigate to Plugins > Add New.
    2. 登录WordPress管理员并导航至“插件”>“添加新内容”。

    3. Type “Block Navigation” in the Search field.
    4. 在“搜索”字段中输入“块导航”。

    5. In the results list Block Navigation plugin should appear, click Install Now button.
    6. 应该在结果列表中显示“块导航”插件,然后单击“ 立即安装”按钮。

    7. Once it finished installing, click the Activate button.
    8. 安装完成后,单击“激活”按钮。

    9. That’s it, now you can go to any post where Gutenberg is enabled and start using the plugin.
    10. 就是这样,现在您可以转到启用了Gutenberg的任何帖子,然后开始使用该插件。

下载地址
https://downloads.wordpress.org/plugin/block-navigation.1.3.0.zip
-EOF-

AI助手支持GPT4.0