{"id":12874840,"date":"2020-05-22T09:52:24","date_gmt":"2020-05-22T09:52:24","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/future-posts-4\/"},"modified":"2020-05-22T09:52:24","modified_gmt":"2020-05-22T09:52:24","slug":"future-posts-4","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/future-posts-4\/","title":{"rendered":"Future Posts"},"content":{"rendered":"<p>Hi,<\/p>\n<p>this is a solution, not a question \ud83d\ude42<\/p>\n<p>I have found a possibility to add future dates as well. it&#8217;s easy:<\/p>\n<p>Just add the following into a new line in infinite_timeline.php:<\/p>\n<p>&#8212;<br \/>\n$args[&#8216;post_status&#8217;] = array( &#8216;publish&#8217;,  &#8216;future&#8217; );<br \/>\n&#8212;<\/p>\n<p>Best will be Line 113, so you will have:<\/p>\n<p>&#8212;<br \/>\n112: $args[&#8216;ignore_sticky_posts&#8217;] = 1;<br \/>\n113: $args[&#8216;post_status&#8217;] = array( &#8216;publish&#8217;,  &#8216;future&#8217; );<br \/>\n114: $time_last = 0;<br \/>\n&#8212;<\/p>\n","protected":false},"template":"","class_list":["post-12874840","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/12874840","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\/12874840\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=12874840"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}