{"id":1436964,"date":"2018-01-26T07:16:32","date_gmt":"2018-01-26T15:16:32","guid":{"rendered":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/display-a-event-running-today-message-in-list-view\/"},"modified":"2018-01-26T09:48:54","modified_gmt":"2018-01-26T17:48:54","slug":"display-a-event-running-today-message-in-list-view","status":"closed","type":"topic","link":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/display-a-event-running-today-message-in-list-view\/","title":{"rendered":"Display a &#039;Event Running Today&#039; message in List view"},"content":{"rendered":"<p>Hello again,<\/p>\n<p>I am wondering if there is a way to display a message when an event is running on the day in List view, like an &#8216;Event runs today&#8217; message?<\/p>\n<p>The reason I want this, is because I currently have a message which says if an event is fully booked, however there seems to be a bit of a conflict when the event is running today and doesn&#8217;t display my message entirely so would rather display a different message entirely.<\/p>\n<p>I currently have this written in my child theme&#8217;s \/tribe-events\/list\/single-event.php:<\/p>\n<p>It&#8217;s saying that if the Event&#8217;s start date is the same as the current date, display &#8216;-&#8216; else display &#8216;&#8211;&#8216; but it&#8217;s showing them all the same.<\/p>\n<p>my knowledge of PHP is very basic, though I am trying to learn as I go along so forgive me if what I have makes 0 sense.<\/p>\n<p>Also, I am sorry if this isn&#8217;t the right place to post this, I am struggling with something that I feel should be quite straight forward!<\/p>\n","protected":false},"template":"","class_list":["post-1436964","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 a &#039;Event Running Today&#039; message in List view -<\/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-a-event-running-today-message-in-list-view\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Display a &#039;Event Running Today&#039; message in List view -\" \/>\n<meta property=\"og:description\" content=\"Hello again, I am wondering if there is a way to display a message when an event is running on the day in List view, like an &#8216;Event runs today&#8217; message? The reason I want this, is because I currently have a message which says if an event is fully booked, however there seems to [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/display-a-event-running-today-message-in-list-view\/\" \/>\n<meta property=\"article:modified_time\" content=\"2018-01-26T17:48:54+00:00\" \/>\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-a-event-running-today-message-in-list-view\/\",\"url\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/display-a-event-running-today-message-in-list-view\/\",\"name\":\"Display a &#039;Event Running Today&#039; message in List view -\",\"isPartOf\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\"},\"datePublished\":\"2018-01-26T15:16:32+00:00\",\"dateModified\":\"2018-01-26T17:48:54+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/display-a-event-running-today-message-in-list-view\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/display-a-event-running-today-message-in-list-view\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/display-a-event-running-today-message-in-list-view\/#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 a &#039;Event Running Today&#039; message in List view\"}]},{\"@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 a &#039;Event Running Today&#039; message in List view -","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-a-event-running-today-message-in-list-view\/","og_locale":"en_US","og_type":"article","og_title":"Display a &#039;Event Running Today&#039; message in List view -","og_description":"Hello again, I am wondering if there is a way to display a message when an event is running on the day in List view, like an &#8216;Event runs today&#8217; message? The reason I want this, is because I currently have a message which says if an event is fully booked, however there seems to [&hellip;]","og_url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/display-a-event-running-today-message-in-list-view\/","article_modified_time":"2018-01-26T17:48:54+00:00","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-a-event-running-today-message-in-list-view\/","url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/display-a-event-running-today-message-in-list-view\/","name":"Display a &#039;Event Running Today&#039; message in List view -","isPartOf":{"@id":"https:\/\/theeventscalendar.com\/support\/#website"},"datePublished":"2018-01-26T15:16:32+00:00","dateModified":"2018-01-26T17:48:54+00:00","breadcrumb":{"@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/display-a-event-running-today-message-in-list-view\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/theeventscalendar.com\/support\/forums\/topic\/display-a-event-running-today-message-in-list-view\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/display-a-event-running-today-message-in-list-view\/#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 a &#039;Event Running Today&#039; message in List view"}]},{"@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\/1436964","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":1,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1436964\/revisions"}],"predecessor-version":[{"id":1437244,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1436964\/revisions\/1437244"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/media?parent=1436964"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}