Table of Content Plus Plugin for SEO

I have written this js file. it automatically creates a table of content from h2 and h3 headings. it also adds ids to the headings. the only thing you need to do is create a div where you want to insert the table with class toc.

demo: https://codepen.io/manashathparia/pen/LXeJgQ

How to use this in blogger.

In blogger some time <a href="#target-name"> automatically change into <a href="xxxxxxxxxxxxxx-yyyyyyyyyy-#target-name">

where
xxxxxxxx is blog id

and

yyyyyyyyy is post id

Solution: Use HTML section instead Compose in the Blogpost for adding TOC

1 Like

ok thanks

My friend has written codes manually instead of the plugin inside my theme. Si I am using same features without this plugin.