{"id":9359959,"date":"2017-07-28T10:22:50","date_gmt":"2017-07-28T10:22:50","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/code-sections-toggle-function\/"},"modified":"2017-07-28T10:22:50","modified_gmt":"2017-07-28T10:22:50","slug":"code-sections-toggle-function","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/code-sections-toggle-function\/","title":{"rendered":"Code Sections Toggle function"},"content":{"rendered":"<p>It would be handy to have a feature that allows the code to be treated in &#8220;sections&#8221;, each of which can be toggled on or off, or possibly allocated to certain pages.<\/p>\n<p>This saves the inconvenience of dealing with cut and paste tasks, using an external text file, for switching codes on or off.<\/p>\n<p>The toggle system would also allow alternative codes for similar tasks to be compared.<\/p>\n","protected":false},"template":"","class_list":["post-9359959","topic","type-topic","status-publish","hentry","topic-tag-code","topic-tag-embed","topic-tag-section","topic-tag-toggle"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/9359959","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\/9359959\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=9359959"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}