• Resolved Daniel P.

    (@danidub)


    Hello, I see your plugin can add the counters and hierarchy to the TOC and that’s all right. But is there a way to also add them to the content?

    I think this enable order and hierarchy in technical blog posts as the ones we do.

    Is there a way to add those counters and hierarchy to the headings and not only to the TOC?

    Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Akshay A

    (@akshaycode1)

    Hi, thank you for reaching out to us. Could you please share any reference link or screenshot of the desired output you want to achieve, so we can review it and provide you with a quick solution?

    Thread Starter Daniel P.

    (@danidub)

    Hello @akshaycode1 I think I can explain it here:

    In my blog I write some title hierarchy like (edit page):
    H1 – Some title
    H2 – Some subtitle
    H3 – Another subtitle
    H3 – Another subtitle
    H2 – Some subtitle
    H3 – Another subtitle
    H3 – Another subtitle

    In TOC I see the the hierarchy plus some counter like (frontend):
    H1 – 1 Some title
    H2 – 1.1 Some subtitle
    H3 – 1.1.1 Another subtitle
    H3 – 1.1.2 Another subtitle
    H2 – 1.2 Some subtitle
    H3 – 1.2.1 Another subtitle
    H3 – 1.2.2 Another subtitle

    Is there a way to add this counters to the article titles itself automatically? (I dont want them to show on the edit page, just on the frontend, matching the TOC:
    H1 – 1 Some title
    H2 – 1.1 Some subtitle
    H3 – 1.1.1 Another subtitle
    H3 – 1.1.2 Another subtitle
    H2 – 1.2 Some subtitle
    H3 – 1.2.1 Another subtitle
    H3 – 1.2.2 Another subtitle

    Thank you.

    Plugin Support Akshay A

    (@akshaycode1)

    Hi @danidub ,

    Thank you for sharing this.

    Currently, we don’t have this option in our Easy TOC plugin but we have raised a GitHub ticket for this request and it will be addressed in the upcoming update. We kindly request for your patience in the meantime.

    Here is the ticket: https://github.com/ahmedkaludi/easy-table-of-contents/issues/834

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.