{"id":8391594,"date":"2016-11-03T13:49:49","date_gmt":"2016-11-03T13:49:49","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/using-widget-programatically\/"},"modified":"2016-11-03T13:49:49","modified_gmt":"2016-11-03T13:49:49","slug":"using-widget-programatically","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/using-widget-programatically\/","title":{"rendered":"Using widget programatically"},"content":{"rendered":"<p>Hi there,<\/p>\n<p>I am trying to load this widget, programmatically, into a custom page to be handled via ajax.<\/p>\n<p>I load the core of WordPress correctly, but I seem unable to find the correct id to invoke the widget. Maybe I am missing parameters?<\/p>\n<p>Here is the code<br \/>\n<code>the_widget(&#039;loginregisterwidget&#039;);<\/code><\/p>\n<p>Thanks for this nice widget!<\/p>\n","protected":false},"template":"","class_list":["post-8391594","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/8391594","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\/8391594\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=8391594"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}