Hi, I believe that’s a known issue, also discussed with possible workarounds here: Shortcode processing order
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Sections wrapped in a shortcode do not appear in the TOC | 13 | 2194 | April 28, 2021 | |
| Table of Contents empty when headers within shortcode | 0 | 846 | June 19, 2018 | |
| Shortcode headings not showing in TOC | 5 | 730 | July 1, 2019 | |
|
Applying headings in shortcodes to the table of contents
|
1 | 1437 | April 2, 2021 | |
| TableOfContents doesn't render headings correctly that contains shortcode | 5 | 232 | July 24, 2025 |