• Resolved J.Kiyama

    (@jkiyama)


    “exclude” attribute of [toc] shortcode is enable going forward?

    If so, would you add it on description section of plugin page. and help tab of plugin setting of admin panel do not work(broken link).

    Thank you for keeping the nice plugin.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Support MM Aurangajeb

    (@aurangajeb)

    Hi @jkiyama,

    Thanks for reaching out!

    Based on the description, the exclude attribute is specifically for the [sitemap_pages] and [sitemap_categories] shortcodes. It allows you to exclude specific pages or categories from the sitemap by their ID.

    Here’s a screencast for reference – https://a.supportally.com/v/gHo8Ig

    However, the [toc] shortcode, which generates the table of contents for a single page, does not have an exclude attribute. To control which headings appear in the table of contents, you would use the heading_levels attribute. For example, if you wanted to exclude H1, H2 and H4 headings, you would specify only the levels you want to include, like this: [toc heading_levels="3,5,6"].

    Here’s a screencast for reference – https://a.supportally.com/v/D19CV5

    I hope this helps.

    Regarding the broken link in the help tab, thank you for reporting this. I’ve opened an internal issue with our Development team for further action.

    I hope this helps. Thanks!

Viewing 1 replies (of 1 total)

The topic ‘“exclude” attribute of [toc] shortcode is enable?’ is closed to new replies.