CM Table of Contents (CMTOC) - Getting Started - Choosing Post Types To Display the Table of Contents
Choosing Post Types to Display the Table of Contents
It is possible to set the WordPress post types that will display the Table of Contents from the Plugin settings. It is even possible to display a Table of Contents on a Custom Post Type.
You can enable the TOC on all pages automatically and then choose which pages should not have it.
First, you should be able to enable or disable the TOC while editing each page.
To enable this option, from the WordPress Dashboard navigate to CM Table of Contents Pro → Settings → General Settings → Display Settings.
Scroll to the bottom of the page and click Save to save your changes.
Now, you'll be able to add the Table of Contents to each page or post. Do enable it, edit the page/post and ensure the option "Search for Table of Contents items on this post/page" is on.
Adding TOC Automatically
To make all chosen post types have TOCs by default, go back to CM Table of Contents Pro → Settings → General Settings. Now head to the Custom Selector (General values) section and enable the option "Search for Table of Contents items on each post/page.
This means that in all pages/posts, the option will be turned on by default.