CM Table of Contents (CMTOC) - TOC - Exclude by Class

General Settings

Click on the Table of Contents tab to choose the settings for the Table of Contents.

Under General Settings, you can type the HTML class name of the element. Then headings inside the container having this class among its classes will be excluded.This is how the example Table of Contents looks.

The first part of the page including the <h3> tag is now wrapped with the div with the class "testing" as we don't want it to appear in Table of Contents.

After the save, we can see that the first heading no longer appear in the Table of Contents:

More information about the Table of Contents WordPress  Plugin

Other WordPress products can be found at CreativeMinds WordPress Store

Let us know how we can Improve this Product Documentation Page

To open a Support Ticket visit our support center
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.