跳到内容

F70 Simple Table of Contents

v1.2.5

niao70 · 2020年8月4日 上架

Display a table of contents in your posts by automatically generated from the headings. No Javascript code, simple to use.

正在使用
100+
评分
5.0 / 5
累计下载
8,555
最近更新
2026年8月27日
2 条评价需要 WordPress 5.0+已测试到 7.1.5PHP 8.3+

贡献者

截图

Check "Display the table of contents" and insert a "Read More" block into your post and save it.
Check "Display the table of contents" and insert a "Read More" block into your post and save it.
Display sample ( H2 Only )
Display sample ( H2 Only )
Display sample ( H2 + H3 )
Display sample ( H2 + H3 )
Display sample ( H2 Only, other site )
Display sample ( H2 Only, other site )
This plugin works if you use H2 headings in your posts.
This plugin works if you use H2 headings in your posts.
Removed list marker and the box background a pale blue
Removed list marker and the box background a pale blue

This plugin display a table of contents at “Read More” block in your post. It is automatically created from the post headings (H2, H3).

This plugin does not have any javascript features such as smooth scrolling or folding. So if you mind about page speed or plugins confliction, you will love this.

You can set 2 settings each post.

  • Display the table of contents (defalut = OFF)
  • Heading levels included in the table of contents (default = H2 only, or H2 + H3)

Notice

  • This plugin works if you use H2 ( and H3 and lesser ) headings in your posts.
  • Headings hierarchy must be preserved. For example, H3 not after H2 does not appear in the table of contents.

Edit Appearance

To edit the appearance of the table of contents, write CSS. You can use “Customize > Additional CSS” or theme style sheets.

For example

Turn the box background a pale blue :

#f70stoc.table-of-contents{
    background-color: #effcff;
}

Remove list marker :

#f70stoc.table-of-contents ol{
    list-style-type: none;
}

Increase the space between the border and the text :

#f70stoc.table-of-contents ol li{
    padding: 1em 0;
}

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums