• First thanks for a fantastic plugin. It’s an elegant solution and works so well. However, I want to stop it appearing on a couple of pages. I noticed that someone else asked this question recently and was advised to turn off the auto-insertion on (say) Pages and manually turn it on for the pages where it is required.

    But, I don’t have any types set for auto-insertion, and Easy Table of Contents is only enabled for Posts and Pages. None the less, the TOC appears everywhere.

    I tried creating a Project (a custom type added by Divi Theme) and found that the TOC was inserted for that, too, despite not being enabled for that object type.

    Any ideas?

    I’m using the latest of everything, and PHP 7.3 and running Divi Theme.

Viewing 1 replies (of 1 total)
  • Thread Starter anotheruserhere

    (@anotheruserhere)

    A bit more info…

    I had been including the TOC by inserting the [toc] shortcode on the pages I wanted it on, which was working fine and the contents of the TOC reflect the contents of the page. However, when it appeared on the page I didn’t want it (Our Team) it showed an entry for each H2 on the page (ie each team member) AND the H2s on the sidebar (Recent Posts, Recent Comments). This does not happen where I manually inserted the TOC.

Viewing 1 replies (of 1 total)

The topic ‘Disable TOC on some pages’ is closed to new replies.