Support » Plugin: LuckyWP Table of Contents » Minimal Count of Headers

  • Resolved zepolo



    I have a little problem with minimal count of headers
    Some pages or articles have not! H1, H2..

    I put Minimal Count of Headers: 1
    If the count of headers in the post is less, then table of contents is not displayed.

    I don’t want show table of contents for pages or articles without h1, h2, h3, h4…
    But I sew on my pages or articles: summary with one title.

    What can I do for zero title and don’t show table of contents.

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author LuckyWP


    Hello @zepolo !

    I not understand problem πŸ™

    You set Minimal Count of Headers: 1

    In post none H1-6, but table of contents showed?

    I have:

    Table of contents:
    1 On the same topic

    Plugin Author LuckyWP


    @zepolo what work incorrectly?
    You have post with one heading. In this case you don’t want show TOC?


    Plugin Author LuckyWP


    @zepolo set Minimal Count of Headers: 2

    When in post two or more headings β€” TOC will be showed.
    When in post one or zero headings β€” TOC will be hidden.

    It looks like your problem is solved unless you have de=activated your plugin. In that case simply choose which headings you want to show in the table of contents. The title is alway an H1 so if you have the H1 set to show and your minimal number is 1 then it will show.
    I only use H2, H3, and sometimes H4 headers to be shown. Hope that this helps either you or someone else. I love this plugin

    I love this plugin too πŸ˜‰

    Just when I have in post one or zero headings β€” TOC will be not hidden

    But never mind. I think it’s a problem with a widget which use H1-H6 : In the same topic (show other pages or articles)
    Thannk you for your suggestions

    Or perhaps exclude by Text: In the same topic

    • This reply was modified 1 year, 2 months ago by zepolo.
    Plugin Author LuckyWP


    @zepolo I think we found bug.
    We will try fix this today or tomorrow.

    Thank you

    Plugin Author LuckyWP


    @zepolo Done!
    Try new version 1.5.6.

    Thank you

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Minimal Count of Headers’ is closed to new replies.