{"id":4783322,"date":"2014-04-07T15:56:14","date_gmt":"2014-04-07T15:56:14","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/events-in-widget-displaying-as-text\/"},"modified":"2016-08-21T19:05:45","modified_gmt":"2016-08-21T19:05:45","slug":"events-in-widget-displaying-as-text","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/events-in-widget-displaying-as-text\/","title":{"rendered":"Events in widget displaying as text"},"content":{"rendered":"<p>I would like to display my events as a widget. I have found other threads in the forum to do with this and they say to add &#8220;add_filter(&#8216;widget_text&#8217;, &#8216;do_shortcode&#8217; to my theme functions.php.<\/p>\n<p>After adding it I still get just the text displayed. Where exactly in the functions.php should I be adding the new line? I have also put [Events] in the text widget in my widget area. <\/p>\n<p>Any help appreciated.<\/p>\n<p>https:\/\/wordpress.org\/plugins\/simple-events-calendar\/<\/p>\n","protected":false},"template":"","class_list":["post-4783322","topic","type-topic","status-closed","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/4783322","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\/4783322\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=4783322"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}