Montag, 5. Juli 2021

How to Make an Interactive Hyperlinked Table Of Contents for a Single Webpage

Blog Posts, today, need a Table of Contents (ToC). Why? Well, see my ToC below 🤩

I found a ready-made ToC-creator on my search. It may be a bit complicated to understand and to use. If you download it - yes, the blogger invites you to do so - make sure to keep the original intact. To work with you always need a copy, because it gets ruined by use. The output overwrites everything. Probably you need 2 copies for one ToC. Then, you must modify it according to the page or blog you want to use it for. But you need one for any blog that's not hosted by yourself.
For your own WP blog, you can get a plugin, but I guess, you have to make on-page changes too if you can. Plugins create generic links, and keyword anchors may be better.
That did not work. first: find out how to remove list decoration
Now, why does always write a div here?