Hope you all are having a beautiful weekend and week!
I have been getting questions lately about how I add table of contents to my sites. Its pretty simple and something that is set and forget.
If you're wondering what I'm talking about, you can look at this post or anyone on my site. The one I use is activated based on the amount of headers in your post.
I've chosen to share this one in particular because it is a good example of how the plugin will indent each of the headings under the main heading...if that makes sense.
So for instance, If you're main heading is 'Why Do Cats Eat' and your sub heading one is 'The Obligate Carnivore' then you have one under that that says 'Taurine is Essential', it will do this.
(whatever comes before on the table of contents)
- Why Do Cats Eat
- The Obligate Carnivore
(whatever the next headings are in your post)
I hope this makes sense...Probably not which is why I provided the example just in case.
How To Add A Table of Contents to Your Site
I guess there are many ways to do this. I've seen another member on WA use page position links like the training I did a while back.
To use this method just put the marker on each heading, however you want to break it down, and link the Table of Contents headings to them. It will make more sense if you watch the video.
But to keep things on track, I'll leave the link at the bottom as well so that you can watch it after you've read all of this training.
This is team too much for me. I prefer a more automated and less time consuming approach.
To do this, I use a plugin called Table of Contents Plus. Make sure that you add the 'Plus' at the end.
As you'll see in the video it makes a difference and that is the exact one that I use. You can customize it to:
- show/hide on posts, pages, etc
- show/hide depending on the number of headings on the post
- toggle show/hide
- font and table size
- what you want the heading to say whether its 'Contents', 'Table of Contents', or whatever you have in mind
- where it shows up
I have it show up on pages and posts that have 2 or more headings because I want it to show on all my pages and posts. This way the reader can skip to where they want to be no matter how long the article is.
Mine typically run pretty long.
If your reader is on a mobile phone, it shows up at the bottom of the post I believe.
I can't remember why I chose this over the other one that shows up. Its probably because its simpler to use and what I'm familiar with.
Table of Contents Plus also has more downloads and users using it too.
The only thing I don't like about it is that on parts where there are numbers in front of the heading, it might be a bit confusing to the reader. But I've had really good feedback about it on my sites that I use this plugin.
If you have any questions, comments or other training requests, please leave them in the comments box below. If you have another method of doing table of contents, please also share.
Talk to you later,
P.S. Here's some training you may also find helpful: