How to Add a Sticky Table of Contents in WordPress

Sometimes, navigating through long articles can be a big hassle for your readers, thus leading them to frustration and a higher bounce rate. To enhance the user experience of your website and keep your audience engaged in your website, a sticky table of contents can be a game changer. 

To add one, you have to use an external plugin. In this post, I am going to walk you through the steps to set up a sticky table of content on your WordPress website. 

Let’s begin. 

Adding a Sticky Table of Contents in WordPress

You can add a sticky table of contents in WordPress very easily. To add one, we are using the Ultimate Blocks plugin here. Follow the below steps to get started. 

Step 1: Install the Ultimate Blocks Plugin

Ultimate Blocks plugin comes with both free and pro versions. The table of contents block is free, but to make your table of contents sticky, you need a specific ‘sticky’ pro feature of this block. 

To get the pro version, head to Ultimate Block’s website and get your desired plan. Once you’ve bought the plugin, go to your email inbox and download the plugin.

Now go to your WordPress Dashboard, navigate to Plugins > Add New Plugin, and click on the ‘Upload Plugin‘ button.

In the next step, select the plugin file from your computer and click on the ‘Install Now‘ button. And activate the plugin.

Then click on the ‘Complete Ultimate Blocks Pro Activation Now’ link and enter your license key. Then, activate the key.

You’ll get your license key in the subscription email you’ve received after purchasing the plugin.

Step 2: Insert Table of Contents Block

Open the page/post where you want to insert a sticky table of contents. Click on the ‘Add block’ button and search for the ‘table of contents’ block. 

Step 3: Make it Sticky

Click on the block settings and scroll below to the ‘Sticky’ option. 

Toggle the ‘sticky’ option and turn it on. 

If you wish, you can also position your table of contents. 

After you are done customizing, your sticky table of contents will look something like the one below.

Benefits of Using a Sticky Table of Contents

  • A sticky table of contents helps the reader to navigate through the post very easily. 
  • Google and other search engines favor well-structured content, hence boosting your rankings. 
  • Your reader will be engaged on your website by allowing them to jump to their section of interest quickly. 

Last Words

By using the steps mentioned above, you can easily add a sticky table of contents to your WordPress website. This feature not only improves your users’ navigation but also enhances the overall user experience. No matter which kind of website you are running, a sticky table of contents can always make a significant difference. 

For you, I have added a sticky table of contents in this post. If you liked the post, then please share it with your friends, and don’t forget to leave your thoughts in the comment box below.

Leave a Reply

Your email address will not be published. Required fields are marked *

New Year Sale - Get 50% OFF on all plans!

X