{"id":18879148,"date":"2026-04-13T16:01:08","date_gmt":"2026-04-13T16:01:08","guid":{"rendered":"https:\/\/wordpress.org\/support\/?post_type=topic&#038;p=18879148"},"modified":"2026-04-13T16:25:42","modified_gmt":"2026-04-13T16:25:42","slug":"ids-2","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/ids-2\/","title":{"rendered":"IDs"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Hi,<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I am using SimpleTOC alongside GenerateBlocks and I\u2019ve run into an issue with how IDs are automatically generated.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The plugin is very aggressive and injects IDs into every heading it finds, including the H1 tag, which is not desired. Furthermore, it scans dynamic placeholders like {{post_title}} in the Query Loop before they are rendered. This results in a critical validation error: every single post in my loop gets assigned the exact same duplicate ID: id=&#8221;posttitle-linkpost&#8221;.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Is there a way to prevent SimpleTOC from generating IDs in specific sections of the page or for specific tags like H1?<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Ideally, the plugin should only generate IDs for standard WordPress heading blocks and completely ignore headings created via GenerateBlocks.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Thank you for your help!<\/p>\n","protected":false},"template":"","class_list":["post-18879148","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/18879148","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":2,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/18879148\/revisions"}],"predecessor-version":[{"id":18879154,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/18879148\/revisions\/18879154"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=18879148"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}