{"id":1098818,"date":"2016-04-06T00:13:48","date_gmt":"2016-04-06T07:13:48","guid":{"rendered":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/different-contentlayout-in-list-and-calendar-view-based-on-category\/"},"modified":"2016-04-19T04:51:44","modified_gmt":"2016-04-19T11:51:44","slug":"different-contentlayout-in-list-and-calendar-view-based-on-category","status":"closed","type":"topic","link":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/different-contentlayout-in-list-and-calendar-view-based-on-category\/","title":{"rendered":"Different Content\/Layout in List and Calendar View based on Category"},"content":{"rendered":"<p>Hi,<\/p>\n<p>I have 2 questions regarding the Events Calendar.<\/p>\n<p>Question No 1<br \/>\nI have a modified list view by having an override located in (my-theme\/tribe-events\/list\/single-event.php)<\/p>\n<p>URL: http:\/\/www.kidsoft.com.au\/events<\/p>\n<p>I have a 2 categories which are the &#8220;Webinars&#8221; and &#8220;Conference&#8221;<\/p>\n<p>What I want to accomplish is to change the contents of the entries in the list based on category. <\/p>\n<p>Let&#8217;s say in category &#8220;webinar&#8221;, I want to show the title, time, and a link for the webinar registration&#8221; (This is what I currently have)<\/p>\n<p>And in category &#8220;conference&#8221; I want to show the title, time the permalink to the event single page.<\/p>\n<p>I tried using &lt;?php if (is_tax(&#8216;tribe_events_cat&#8217;, &#8216;webinar&#8217;)) : ?&gt; but i cant accomplish what we want.<\/p>\n<p>Question no. 2<\/p>\n<p>How can I remove the word &#8220;category&#8221; in the url? What i have now is events\/category\/webinar and i just want events\/webinar without the word &#8220;category&#8221; on it. <\/p>\n<p>Thanks<\/p>\n","protected":false},"template":"","class_list":["post-1098818","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>Different Content\/Layout in List and Calendar View based on Category -<\/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\/different-contentlayout-in-list-and-calendar-view-based-on-category\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Different Content\/Layout in List and Calendar View based on Category -\" \/>\n<meta property=\"og:description\" content=\"Hi, I have 2 questions regarding the Events Calendar. Question No 1 I have a modified list view by having an override located in (my-theme\/tribe-events\/list\/single-event.php) URL: http:\/\/www.kidsoft.com.au\/events I have a 2 categories which are the &#8220;Webinars&#8221; and &#8220;Conference&#8221; What I want to accomplish is to change the contents of the entries in the list based [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/different-contentlayout-in-list-and-calendar-view-based-on-category\/\" \/>\n<meta property=\"article:modified_time\" content=\"2016-04-19T11:51:44+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\/different-contentlayout-in-list-and-calendar-view-based-on-category\/\",\"url\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/different-contentlayout-in-list-and-calendar-view-based-on-category\/\",\"name\":\"Different Content\/Layout in List and Calendar View based on Category -\",\"isPartOf\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\"},\"datePublished\":\"2016-04-06T07:13:48+00:00\",\"dateModified\":\"2016-04-19T11:51:44+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/different-contentlayout-in-list-and-calendar-view-based-on-category\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/different-contentlayout-in-list-and-calendar-view-based-on-category\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/different-contentlayout-in-list-and-calendar-view-based-on-category\/#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\":\"Welcome!\",\"item\":\"https:\/\/theeventscalendar.com\/support\/forums\/forum\/_welcome\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Pre-Sales Questions\",\"item\":\"https:\/\/theeventscalendar.com\/support\/forums\/forum\/_welcome\/pre-sales-questions\/\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"Different Content\/Layout in List and Calendar View based on Category\"}]},{\"@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":"Different Content\/Layout in List and Calendar View based on Category -","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\/different-contentlayout-in-list-and-calendar-view-based-on-category\/","og_locale":"en_US","og_type":"article","og_title":"Different Content\/Layout in List and Calendar View based on Category -","og_description":"Hi, I have 2 questions regarding the Events Calendar. Question No 1 I have a modified list view by having an override located in (my-theme\/tribe-events\/list\/single-event.php) URL: http:\/\/www.kidsoft.com.au\/events I have a 2 categories which are the &#8220;Webinars&#8221; and &#8220;Conference&#8221; What I want to accomplish is to change the contents of the entries in the list based [&hellip;]","og_url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/different-contentlayout-in-list-and-calendar-view-based-on-category\/","article_modified_time":"2016-04-19T11:51:44+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\/different-contentlayout-in-list-and-calendar-view-based-on-category\/","url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/different-contentlayout-in-list-and-calendar-view-based-on-category\/","name":"Different Content\/Layout in List and Calendar View based on Category -","isPartOf":{"@id":"https:\/\/theeventscalendar.com\/support\/#website"},"datePublished":"2016-04-06T07:13:48+00:00","dateModified":"2016-04-19T11:51:44+00:00","breadcrumb":{"@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/different-contentlayout-in-list-and-calendar-view-based-on-category\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/theeventscalendar.com\/support\/forums\/topic\/different-contentlayout-in-list-and-calendar-view-based-on-category\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/different-contentlayout-in-list-and-calendar-view-based-on-category\/#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":"Welcome!","item":"https:\/\/theeventscalendar.com\/support\/forums\/forum\/_welcome\/"},{"@type":"ListItem","position":4,"name":"Pre-Sales Questions","item":"https:\/\/theeventscalendar.com\/support\/forums\/forum\/_welcome\/pre-sales-questions\/"},{"@type":"ListItem","position":5,"name":"Different Content\/Layout in List and Calendar View based on Category"}]},{"@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\/1098818","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\/1098818\/revisions"}],"predecessor-version":[{"id":1098858,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1098818\/revisions\/1098858"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/media?parent=1098818"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}