User Experience (UX) is one of the most important factors you need to consider while creating a post, an article, or a guide. That’s why it’s always a good idea to include a table of contents (ToC), mostly in long-form content that includes three or more headings…
In this article, we’ll show you how to use the table of contents to break down your text.
Before we begin, let’s take a look at some of the advantages of using the Table of Contents.
Advantages of Using the Table of Contents
- Provides a better user experience.
- Keeps your content well-structured and well-formatted.
- Helps to navigate easily between different sections.
- Makes it easier to share direct links to different sections within an article.
- Helps increase CTR from search.
How to Use “Table of Contents”?
Table of Contents can help you improve the readability of an article.
Rank Math checks for the presence of a table of contents creation plugin on your website. If you don’t use the table of contents, then Rank Math will display an error in the Content Readability section.
Rank Math makes it extremely easy to add a Table of Contents block to your posts/pages without hassle. To do so, navigate to your post/page, click the ‘+’ icon and locate the Table of Contents by Rank Math block.
You can refer to our dedicated article on how to add Rank Math’s Table of Contents Block to further customize and configure the block.
On the assumption that you will use a Table of Contents, and if you have the plugin installed, Rank Math will pass the test if it finds any of the following plugins installed on your website.
- Rank Math (use Rank Math Table of Contents block to clear the test)
- WP Shortcode Pro
- WP Shortcode
- TOC Pack – Table of Contents for Elementor
- Ultimate Blocks
- LuckyWP Table of Contents
- Elementor Pro
- Table of Contents Plus
- Easy Table of Contents
- Divi Table Of Contents Maker
- TOP Table of Contents
If you are using any other plugin for adding a Table of Contents, please contact your plugin/provider and ask them to add the below filter to their plugin/theme so it is easier for Rank Math to detect that you are using a Table of Contents section in your posts.
add_filter( 'rank_math/researches/toc_plugins', function( $toc_plugins ) {
$toc_plugins['plugin-directory/plugin-filename.php'] = 'Plugin Name';
return $toc_plugins;
});
Once they add the filter, we will be happy to add them to the compatibility list here.
If you are manually adding a hard-coded Table of Contents section, you can use this filter to disable that particular test.
Get Jump Links in Google Search
Google may include a “Jump To” link in the SERPs when it detects a table of contents in your post. This helps to improve your click-through rate tremendously. However, note that Google does it at its discretion, like rich snippets, by simply including a table of contents, there is no guarantee that you will get the “Jump To” links.
You can see these links below a search result, and these allow you to navigate to the sections of a page from within the SERP. Below is an example of a jump link:
For some, creating a table of contents may seem like something which is not so important, but it’s actually necessary, especially for large posts with a lot of headings. We strongly recommend using the table of contents and structure the content correctly for your visitors.
And, that’s it! If you still have any questions, please feel free to reach our support team directly from here, and we’re always here to help.