image coming soon place holder in gray

Solution

Show or Hide a Divi Table of Contents Based on Heading Count or Word Count

A table of contents is not always useful on shorter pages, but our Divi Table of Contents Maker plugin solves this by letting you automatically show or hide the TOC based on minimum heading count, minimum word count, or a combination of both using AND or OR conditions.

  • Set minimum heading and word count requirements
  • Match all conditions or any condition before showing the TOC
  • Respect included and excluded content when evaluating the conditions
Nelson Miller Profile Orange

👋  Hello! I’m Nelson Miller, the owner of this company. I work with Divi every day and enjoy creating helpful solutions like this in our popular plugins. I hope you enjoy it, and let me know if you have any questions! 

problem

The Problem

Many pages and posts don’t require a table of contents, especially when the content is short. This can lead to cluttered interfaces where unnecessary elements distract from the main content. As a result, users may feel overwhelmed or confused about the information presented.
solution

The Solution

Our Divi Table Of Contents Maker plugin addresses this issue by allowing you to control when the table of contents appears. You can set specific criteria, such as minimum heading counts or word counts, to determine if the TOC should be displayed. This means that on shorter pages, the TOC can be hidden, keeping the interface clean and focused. By tailoring the visibility of the TOC, you ensure that it only appears when it adds value to the reader's experience.
Divi Search Helper Logo

Control Your Table of Contents Visibility

With the Divi Table Of Contents Maker, you can decide when the TOC should appear based on your content's length. This keeps your pages neat and user-friendly.
action

How This Changes Your Workflow

With this feature, you can easily manage the visibility of your table of contents based on the content length. This change helps keep your pages looking tidy and ensures that readers only see the TOC when it’s truly helpful. It’s a straightforward way to improve the user experience without adding extra work.

The Old Way 👎

  • TOC appears on all pages, regardless of length
  • Cluttered interface on shorter content
  • Readers may miss important information

With Our Plugin👌

  • TOC only shows on longer, structured content
  • Cleaner interface for short pages
  • Readers can focus on relevant information
Refresh icon with green arrows on gray background.

Practical Use Cases for Divi Table Of Contents

  • A blogger can hide the TOC on short posts to keep the layout clean and focused.
  • Content creators can set conditions to show the TOC only on detailed guides, enhancing navigation.
  • An agency can streamline client pages by ensuring the TOC only appears when necessary, improving readability.
  • Freelancers can customize TOC visibility based on client content length, making each project more user-friendly.
why

How To Use This Feature in Divi

Open the Divi Builder and edit or add the Divi Table Of Contents Maker module. Go to the Content tab and open Content Settings. From there, you can hide the TOC based on a minimum heading count or word count.

hide a divi table of contents based on heading count in divi 5 using the divi table of contents maker plugin created by pee aye creative

You can also combine both conditions using AND or OR to control when the TOC should appear. This means you can automatically hide the TOC on shorter pages where it may not be necessary, keeping the page clean and focused. By setting these visibility rules, the TOC appears only when it provides useful navigation for your visitors.

use heading count, word count, or a combination of both with and or or conditions in divi 5 using the divi table of contents maker plugin created by pee aye creative
frequently asked questions

Frequently Asked Questions

How do I set the minimum heading count?

You can set the minimum heading count in the settings tab of the Divi Table Of Contents Maker plugin under the Pee-Aye Creative menu in your WordPress dashboard.

Can I use both heading and word count conditions?

Yes, you can combine both heading and word count conditions to determine when the TOC should be displayed based on your preferences.

What happens if my content doesn't meet the conditions?

If your content doesn't meet the set conditions, the table of contents will remain hidden, keeping your page clean and focused.

Is it possible to exclude certain content from the word count?

Yes, you can use the plugin's include and exclude class controls to determine which content is considered for the word count.

Will the TOC automatically update if I change my content?

Yes, the TOC will automatically adjust its visibility based on any changes you make to the content length or heading structure.
Divi Table Of Contents Maker by Pee-Aye Creative

Get This Feature And More With The Divi Table Of Contents Maker Plugin

The ability to show or hide the table of contents based on content length is just one of the features offered. Divi Table Of Contents Maker helps you manage navigation effectively, ensuring readers find what they need without distraction.

Explore Our Other Divi Solutions

Shopping cart0
There are no products in the cart!
You may be interested in…
Divi Builder Experience Helper Plugin by Pee-Aye Creative
From: $29.00 / year

Select options This product has multiple variants. The options may be chosen on the product page

divi assistant plugin by pee aye creative
From: $69.00 / year

Select options This product has multiple variants. The options may be chosen on the product page

Divi Carousel Maker Plugin by Pee Aye Creative
From: $29.00 / year

Select options This product has multiple variants. The options may be chosen on the product page

Logo for D Beginner Course with graduation cap
From: $47.00 / year

Select options This product has multiple variants. The options may be chosen on the product page

divi events calendar
From: $54.00 / year

Select options This product has multiple variants. The options may be chosen on the product page

Continue shopping
0