Home Plugins f70 simple table of contents
F70 Simple Table of Contents logo

F70 Simple Table of Contents

by niao70 on WordPress.org

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

(2)
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.

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;
}
Active installations200+
Weekly downloads
26+0.00%
Version1.2.3
Last updated10/1/2024
WordPress version5.0
Tested up to6.6.2
Tags
indexeslinksnavigationtable of contentstoc