{"id":1160388,"date":"2009-07-30T14:25:23","date_gmt":"2009-07-30T14:25:23","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/widgets-empty-when-trying-to-edit\/"},"modified":"2016-08-19T13:33:00","modified_gmt":"2016-08-19T13:33:00","slug":"widgets-empty-when-trying-to-edit","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/widgets-empty-when-trying-to-edit\/","title":{"rendered":"Widgets empty when trying to edit"},"content":{"rendered":"<p>I&#8217;m working on a couple of themes with sidebars and have come across something that I&#8217;m sure is something simple I&#8217;m missing.  I just don&#8217;t know what it is.<\/p>\n<p>There are 4 sidebars, created using register_sidebar() at the top of the functions.php file.  They all show up fine in the Widgets settings page and when I drag widgets onto them they&#8217;ll show up in the sidebars on the actual site.  <\/p>\n<p>The problem is when I go back to the Widgets settings page all 4 sidebars are empty.  If I don&#8217;t drag anything onto them the sidebars on the site still look correct.  Both the themes that I&#8217;ve done do this but the default theme doesn&#8217;t so I&#8217;m pretty sure it&#8217;s something I&#8217;m just missing.<\/p>\n","protected":false},"template":"","class_list":["post-1160388","topic","type-topic","status-closed","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/1160388","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\/1160388\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=1160388"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}