该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Heroic 目录

描述

WordPress 目录插件

Heroic Table of Contents 是最简单的方法来添加目录到你的站点

目录或索引部分允许读者轻松地浏览站点上的页面。英雄式目录块自动检测页面上的标题、4种内置样式、显示选项等。

功能: –

  • 在几秒内添加内容章节到页面
  • 从4个预制的目录风格中选择
  • 隐藏并且重新标签头部二不需要改变原有的内容.
  • 选择要在目录中显示的标题.
  • 展开和折叠内容部分
  • 放置内容章节到任意地方
  • 选择bulleted,numbered 或者 plain 列表
  • 使用多个目录块来分解和索引冗长的内容.
  • 移动端友好
  • SEO 友好

关于Hero Themes
HeroThemes开发了额一些好的WordPress插件,工具一级主题,有超过26,000客户。如果你喜欢这个插件,并且想要更多的新闻,主题一级插件,你可以跟随如下:

屏幕截图

  • Heroic 目录添加目录章节到你的内容
  • 添加Heroic 目录区块,通过编辑器旁边的+号
  • 目录会自动的通过标题(H1,H2,H3 等) 来生成
  • 包含4个构建的风格,可折叠的内容列表并选择要包含/排除的标题
  • 显示/隐藏 并且重新标签headings 通过点击在图标中,当区块选择的时候
  • 选择contents list 风格
  • 添加自定义链接到 Table of Contents (测试功能)

安装

通过WordPress 来安装Heroic Table of Contents

  1. 访问你工作面变,并且选择”Add New” 来访问插件页面
  2. 搜索”Heroic Table of Contents”;
  3. 从你的”插件”页面 激活 Heroic 目录
  4. 去到”after activation”

手动安装 Heroic 目录

  1. 上传并且解压”heroic-toc” 文件夹到你的网站/wp-content/plugins/ 目录;
  2. 通过在WordPress中的”Plugins”页面来激活Heroic 目录
  3. 去到”after activation”

激活之后

你现在可以再WordPress区块编辑器中通过点击+按钮来创建你的目录。

常见问题

谁应该使用Heroic 目录?

这个插件允许你添加内容(目录,索引,页面导航或者你想要调用的内容)到你的WordPress文章,页面以及文章.

Heroic 能够在我的主题中进行工作吗?

Heroic 目录设计是可以用于任何的WordPress主题

Heroic Table of Contents 已经翻译了吗?

是的,Heroic 目录已经有完整的翻译和本地化支持.

我有一个问题

请随意联系我们,通过herothemes.com/contact/了解更多的问题

我怎么获得支持?

如果你的Heroic Table of Conetents WordPress 插件有问题,你可以到我们的支持论坛wordpress.org 或者点击查看知识库herothemes.com/support/.

评价

2022年2月1日 2 回复
Wonderful block for Gutenberg.
2021年8月10日 4 回复
Hi. Would you create a fixing (and put it as an option on the plugin options) to fix the problem of the anchor going to very top of the viewport, but when the page has a top floating navbar, the anchors are hidden by the navbar. I´ve tried to fix it using css, but got no success. May you update it on the next plugin update?
2021年5月4日
I needed a Gutenberg friendly TOC plugin for my elearning site, and this is working almost perfectly. One more feature I need is, support for multiple pages using WP's page break feature. Designs are way better than TOC+ and other major TOC plugins.
2021年3月14日
Works as intended if a blog post is a single page. If it's split across multiple pages, the anchors on subsequent pages don't work because they expect them all to be in the same page as opposed to a single page.
阅读所有8条评价

贡献者及开发者

“Heroic 目录” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

“Heroic 目录”插件已被翻译至3种本地话语言。 感谢所有译者为本插件所做的贡献。

将“Heroic 目录”翻译成您的语言。

对开发感兴趣吗?

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

更新日志

1.2.1

(19 May 2022)

(Improved) Tweaks and compatibility checking for WordPress 6.0
(Improved) Removed block from non-editor screens where it is not relevant
(Improved) Now supports Reusable blocks

1.2.0

(14 Jul 2021)

(更新) 优化并且测试 WordPress 5.8

1.1.2

(8 2月 2021)

(修复) Readme.txt 格式

1.1.1

(29 Jan 2021)

(修复) 添加缺失的 script.min.js 文件

1.1.0

(28 1月 2021)

(修复) 目录输出的语义HTML标记
(优化) 优化脚本并删除jQuery依赖项
(优化) 数学排名支持,SEO 用于目录
(优化) H1 标题现在已经忽略

1.0.2

(26 8月 2020)

(修复) 编辑器中的 React 警告
(优化) 编辑器风格

1.0.1

(14 4月 2020)

(优化) 风格提升

1.0

(16 5月 2020)

(新)初始版本