• Hi,

    Nice plugin.

    I came across an issue that the table of contents does not catch all the headers when the post is paginated with <!--nextpage--> as known as page break or pagination.

    I’m using Auto Insert and I’d like to know if there is a way to disable the table of contents for pages with page breaks.

    Thank you.

Viewing 1 replies (of 1 total)
  • Plugin Author LuckyWP

    (@theluckywp)

    Hello!

    Unfortunally, plugin don’t support posts with page break.

    For disable table of contents for such post in your case try use this code:

    add_filter('lwptoc_disable_autoinsert', function () {
        global $numpages;
        return $numpages > 1;
    });
Viewing 1 replies (of 1 total)
  • The topic ‘Not working well with posts with page breaks’ is closed to new replies.