How does this plugin work?
The plugin adds a new custom Divi module into the existing Divi Visual Builder. Simply go to your Divi Builder, add a new module, and select “Divi Table Of Contents Maker” to get started. The module automatically adds links to the headings in the post content based on the settings you choose.
How to exclude headings from TOC?
To keep unwanted headings such as the page title, headings in the sidebar, headings in the footer, etc. out of the table of contents, you can simply exclude other headings with our built-in feature.
1. Enable the Setting In The Module
The first step is to enable the Exclude Headings By Class setting in the module in the Content Settings toggle.
2. Add Class To Other Elements
The second step is to add the CSS class pac-dtocm-exclude to any section, row, or module that you want to exclude the headings from being added to the table of contents.
All Divi modules, rows, and sections have an input field for custom CSS Classes. To locate this, open the element and go to the Advanced tab, open the CSS ID & Classes toggle, and add the class pac-dtocm-exclude to the CSS class input field.
Now any headings that are within that module, row, or section with the CSS class will not be included in the table of contents.
Can two TOC modules be used on the same page?
Due to the nature of a table of contents and the code needed to make it work, it is not possible to have more than one Table Of Contents Maker module on the same page/post/template.
We continually update this page as we receive new questions and notice frequent or common ones. If you have a question, please send us an email.