{"id":9621056,"date":"2017-10-25T21:07:14","date_gmt":"2017-10-25T21:07:14","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/plugin-rewrite\/"},"modified":"2017-10-25T21:07:14","modified_gmt":"2017-10-25T21:07:14","slug":"plugin-rewrite","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/plugin-rewrite\/","title":{"rendered":"Plugin Rewrite"},"content":{"rendered":"<p>Hey @maximevalette I&#8217;ve majorly rewritten the plugin to better implement some of the features we&#8217;ve added in the last few revisions like the custom datefield, timezone support for the custom datefield, and a new control of how many days into the future to show events.<\/p>\n<p>Improvements include:<br \/>\n&#8211; New <strong>Number of Future Posts<\/strong> setting<br \/>\n&#8211; Replaced get_results with Wp_Query<br \/>\n&#8211; Better implementation of the custom date field to filter results returned<br \/>\n&#8211; Timezone support for the custom date field<br \/>\n&#8211; Reorganized code &amp; Added comments<\/p>\n<p>Here is my revised php file:<br \/>\n<a href=\"https:\/\/www.dropbox.com\/s\/tgicm1fv7ergg9v\/ical-feeds.php?dl=0\" rel=\"noopener\" target=\"_blank\">https:\/\/www.dropbox.com\/s\/tgicm1fv7ergg9v\/ical-feeds.php?dl=0<\/a><\/p>\n<p>Let me know what you think.<\/p>\n","protected":false},"template":"","class_list":["post-9621056","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/9621056","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\/9621056\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=9621056"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}