{"id":12222907,"date":"2019-12-10T11:03:04","date_gmt":"2019-12-10T11:03:04","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/upcoming-shortcode-limited-by-event-id\/"},"modified":"2019-12-10T11:04:28","modified_gmt":"2019-12-10T11:04:28","slug":"upcoming-shortcode-limited-by-event-id","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/upcoming-shortcode-limited-by-event-id\/","title":{"rendered":"Upcoming Shortcode limited by event ID"},"content":{"rendered":"<p>I would like to use a shortcode to display upcoming scheduled dates for a single event using the event ID in the shortcode. I can&#8217;t find how to do this. <\/p>\n<p>The upcoming shortcode I&#8217;ve tried is outputting all future dates across multiple events.<\/p>\n<pre><code>\n[my_calendar_upcoming event=&quot;10&quot; template=&quot;{date}, {time}&lt;\/li&gt;&quot; list=&quot;&lt;li&gt;{date}, {time}&quot; before=&quot;0&quot; after=&quot;100&quot; show_today=&quot;yes&quot; type=&quot;event&quot; order=&quot;asc&quot;]\n<\/code><\/pre>\n<p>Is there an event=&#8221;&#8221; field that allows you to restrict the Upcoming Shortcode to a particular event?<\/p>\n<p>Thanks<\/p>\n","protected":false},"template":"","class_list":["post-12222907","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/12222907","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":1,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/12222907\/revisions"}],"predecessor-version":[{"id":12222911,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/12222907\/revisions\/12222911"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=12222907"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}