{"id":15422110,"date":"2022-03-03T11:07:35","date_gmt":"2022-03-03T11:07:35","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/insert-using-shortcode-2\/"},"modified":"2022-03-03T11:07:35","modified_gmt":"2022-03-03T11:07:35","slug":"insert-using-shortcode-2","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/insert-using-shortcode-2\/","title":{"rendered":"insert using shortcode"},"content":{"rendered":"<p>I&#8217;m using the code <code>echo do_shortcode(&#039;[ez-toc]&#039;);<\/code> to put the table of content directly in the template.  I found that I need to enable auto insert or the headings won&#8217;t have the id added to them then the anchor links won&#8217;t work.  Is this normal?<\/p>\n","protected":false},"template":"","class_list":["post-15422110","topic","type-topic","status-publish","hentry","topic-tag-shortcode"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/15422110","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":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/15422110\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=15422110"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}