PluginWordPress

How to Add a table of contents in WordPress.

If you’re a blogger and want to enhance your blog or website’s user experience and also on-Page SEO, you must add the table of contents to your website. On a WordPress website, you’ve to install a plugin to automatically add a table of contents in every post.

Add The Table of Contents in Every WordPress post.

You can add the content table in every WordPress Post by installing and activating the Easy Table of Contents plugin into your WordPress website. Learn here how to install a plugin on a WordPress website.

how-to-add-table-of-content
How to Add Table of Content

This plugin can automatically add up a contents table on every WordPress post, or you can choose which article should have this contents table. Please note that this plugin only highlights heading tags that are used in your blogger post.

Settings for Table of Contents in WordPress website.

General Settings

These Settings enables you to allow or disallow the plugin to automatically add a table of content in every post or not.

General Settings for Table of Content
General Settings for TOC
  1. Enable plugin to support Post or Pages choose as per your need.
  2. What should be the position of the table of contents in your WordPress post
  3. Choose the condition, on how many heading tags TOC should add in the post.
  4. Show header label above the TOC.
  5. Header Label name
  6. Allow users to hide or show the TOC. In our case, it is disabled.
  7. When a user visits your page, should it be visible or not? In our case, it is visible.
  8. Show the heading order.
  9. Counter type
  10. When clicking on any content, type of scrolling.

Appearance Settings

This setting will define how should it look or appear for your WordPress page.

Appearance Setting for Table of Content
Appearance Setting for TOC
  1. What should the width of the table
  2. Ignore this if you choose the first option
  3. Should it float with page scroll?
  4. Title font size.
  5. Weight or boldness of the font.
  6. Choose the Font Size.
  7. Choose the theme.

Advanced Settings for TOC.

These settings are essential from a Search Engine Optimization Point of View. You can follow the same as selected in our case or as per your need.

Advanced Settings
Advanced Settings for TOC
  1. Anchors should be lowercase from an SEO point of view.
  2. You should tick this to use “-” instead of “_” in the anchor(SEO).
  3. Would you like to add a table of contents on the homepage?
  4. CSS should load or not? If it(table of contents) causes render-blocking, you can select this option. If you select this option, then no style will be displayed with your content table.
  5. How much dept should be tabled? Learn how you can use heading tags by keeping SEO in mind.

Scrolling in Mobile and Desktop

Smooth Scrolling Mobile desktop
Smooth Scrolling Mobile desktop

If you’re using a fixed menu on the header of pages, you can provide a value according to the size of your header menu. Suppose if your header menu of 100px, then provide 100px in the offset value.

  1. Smooth Scroll Offet for Desktop View
  2. Smooth Scroll Offer for Mobile View

You can try the same values, as provided here. These works with most WordPress themes.

Pros of Adding Table of Contents

  • Enhance User Experience by taking your user to what they need.
  • More SEO friendly content.
  • Enhance the author to write a proper hierarchy article that leads to an SEO friendly article.

Cons

  • May reduce in earning of the single post due to skip in ads
  • Total reading time will decrease.

I hope you like this article on How you can add and properly make settings for the Table of Content.

Ashok Kumar

Ashok Kumar working in the Search Engine Optimization field since 2015. And worked on many successful projects since then. He shares the real-life experience of best SEO practices with his followers on seoneurons.com. You also can learn Advance level SEO for WordPress, Blogger, or any other blogging platform. Stay tuned.

Related Articles

Leave a Reply

Back to top button