{"id":1371236,"date":"2017-10-30T02:52:40","date_gmt":"2017-10-30T09:52:40","guid":{"rendered":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/display-past-events-2\/"},"modified":"2017-10-30T02:52:40","modified_gmt":"2017-10-30T09:52:40","slug":"display-past-events-2","status":"closed","type":"topic","link":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/display-past-events-2\/","title":{"rendered":"Display Past Events"},"content":{"rendered":"<p>Hi there guys,<\/p>\n<p>Just a quick one on this earlier query:<\/p>\n<blockquote class=\"wp-embedded-content\" data-secret=\"70CFTuJx6E\"><p><a href=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/display-past-events-in-reverse-order\/\">Display Past Events in Reverse Order<\/a><\/p><\/blockquote>\n<p><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; visibility: hidden;\" title=\"&#8220;Display Past Events in Reverse Order&#8221; &#8212; \" src=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/display-past-events-in-reverse-order\/embed\/#?secret=xuNPfyc9jk#?secret=70CFTuJx6E\" data-secret=\"70CFTuJx6E\" width=\"580\" height=\"327\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe><\/p>\n<p>I want my home page to have upcoming events in one section, and then my past events in another section below it. My last theme had Visual Composer; it had a function called &#8220;Post Grid&#8221;, which would allow me to display &#8220;Tribe_events&#8221;, and order them by Meta Key &#8220;_EventStartDate&#8221;<\/p>\n<p>I have rebuilt the site and am trying to find how to do the above via your provided shortcode. So far I have a masonry grid showing up with:<br \/>\n[tribe_events view=&#8221;photo&#8221; date=&#8221;2010-01&#8243; tribe-bar=&#8221;false&#8221;]<\/p>\n<p>However:<br \/>\n1. I can&#8217;t seem to change the title &#8211; I&#8217;ve put this in and it doesn&#8217;t seem to have any effect:<br \/>\ntitle=&#8221;Past Events&#8221;<\/p>\n<p>2. I need them to be in descending chronological order like all major websites &#8211; Facebook, Eventbrite, Ticketmaster, etc. So most recent event at top of widget list, and least recent event at bottom. Below addition to shortcode doesn&#8217;t seem to work:<br \/>\norder=&#8221;DESC&#8221;<br \/>\nI&#8217;ve also tried the following code:<\/p>\n<blockquote class=\"wp-embedded-content\" data-secret=\"70CFTuJx6E\"><p><a href=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/display-past-events-in-reverse-order\/\">Display Past Events in Reverse Order<\/a><\/p><\/blockquote>\n<p><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; visibility: hidden;\" title=\"&#8220;Display Past Events in Reverse Order&#8221; &#8212; \" src=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/display-past-events-in-reverse-order\/embed\/#?secret=xuNPfyc9jk#?secret=70CFTuJx6E\" data-secret=\"70CFTuJx6E\" width=\"580\" height=\"327\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe><br \/>\nHowever I get debug error:<br \/>\n<code>PHP Notice:  Undefined index: tribe_event_display in [mywebsite]\/wp-content\/themes\/[mytheme]\/functions.php on line 15<\/code><\/p>\n<p>Finally, is there a way to have it displayed as a grid (uniform height for each post in grid), rather than masonry grid?<\/p>\n<p>I will attach pictures in private message.<\/p>\n<p>Thanks so much for your help!<\/p>\n<p>Adam<\/p>\n","protected":false},"template":"","class_list":["post-1371236","topic","type-topic","status-closed","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Display Past Events -<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/display-past-events-2\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Display Past Events -\" \/>\n<meta property=\"og:description\" content=\"Hi there guys, Just a quick one on this earlier query: Display Past Events in Reverse Order I want my home page to have upcoming events in one section, and then my past events in another section below it. My last theme had Visual Composer; it had a function called &#8220;Post Grid&#8221;, which would allow [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/display-past-events-2\/\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/display-past-events-2\/\",\"url\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/display-past-events-2\/\",\"name\":\"Display Past Events -\",\"isPartOf\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\"},\"datePublished\":\"2017-10-30T09:52:40+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/display-past-events-2\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/display-past-events-2\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/display-past-events-2\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/theeventscalendar.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Topics\",\"item\":\"https:\/\/theeventscalendar.com\/support\/topics\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Calendar Products\",\"item\":\"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Events Calendar PRO\",\"item\":\"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/events-calendar-pro\/\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"Display Past Events\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\",\"url\":\"https:\/\/theeventscalendar.com\/support\/\",\"name\":\"\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/theeventscalendar.com\/support\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Display Past Events -","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/display-past-events-2\/","og_locale":"en_US","og_type":"article","og_title":"Display Past Events -","og_description":"Hi there guys, Just a quick one on this earlier query: Display Past Events in Reverse Order I want my home page to have upcoming events in one section, and then my past events in another section below it. My last theme had Visual Composer; it had a function called &#8220;Post Grid&#8221;, which would allow [&hellip;]","og_url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/display-past-events-2\/","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/display-past-events-2\/","url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/display-past-events-2\/","name":"Display Past Events -","isPartOf":{"@id":"https:\/\/theeventscalendar.com\/support\/#website"},"datePublished":"2017-10-30T09:52:40+00:00","breadcrumb":{"@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/display-past-events-2\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/theeventscalendar.com\/support\/forums\/topic\/display-past-events-2\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/display-past-events-2\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/theeventscalendar.com\/support\/"},{"@type":"ListItem","position":2,"name":"Topics","item":"https:\/\/theeventscalendar.com\/support\/topics\/"},{"@type":"ListItem","position":3,"name":"Calendar Products","item":"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/"},{"@type":"ListItem","position":4,"name":"Events Calendar PRO","item":"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/events-calendar-pro\/"},{"@type":"ListItem","position":5,"name":"Display Past Events"}]},{"@type":"WebSite","@id":"https:\/\/theeventscalendar.com\/support\/#website","url":"https:\/\/theeventscalendar.com\/support\/","name":"","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/theeventscalendar.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1371236","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1371236\/revisions"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/media?parent=1371236"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}