{"id":1011634,"date":"2015-10-05T14:01:32","date_gmt":"2015-10-05T21:01:32","guid":{"rendered":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/the_title-of-single-tribe-venue-not-displaying-within-page-php\/"},"modified":"2015-10-23T07:05:04","modified_gmt":"2015-10-23T14:05:04","slug":"the_title-of-single-tribe-venue-not-displaying-within-page-php","status":"closed","type":"topic","link":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/the_title-of-single-tribe-venue-not-displaying-within-page-php\/","title":{"rendered":"the_title of single tribe venue not displaying within page.php"},"content":{"rendered":"<p>Greetings<\/p>\n<p>Same old issue, this time around, with Single Venues (and I&#8217;m feeling organizer will come after&#8230;).<\/p>\n<p>Based on that https:\/\/theeventscalendar.com\/support\/forums\/topic\/the_title-not-displaying-within-page-php\/ discussion, I have a page-event.php template serving as the base for all Tribe Events stuff&#8230; but the workaround I used to display Event&#8217;s title within that file isn&#8217;t working for single venue.<\/p>\n<p>Instead of the_title showing, I have the event&#8217;s title displaying in my single venue page!<br \/>\nEx: http:\/\/litteraturesagamie.com\/lieu\/bibliotheque-de-jonquiere\/<br \/>\nIt should display the Venue name at the top, not the &#8220;next event&#8221; on the list. Here&#8217;s the page-event.php template, in case you didn&#8217;t look that other thread I linked to.<\/p>\n<pre><code>&lt;?php\n\/*\nTemplate Name: Event Page\nSimplistic Page template, everything is in the Single-event.php template (\/tribe-events\/single-event.php)\n*\/\nget_header();\n\n$is_page_builder_used = et_pb_is_pagebuilder_used( get_the_ID() );\n\nwhile ( have_posts() ) : the_post(); \n\n$content = apply_filters( &#039;the_content&#039;, get_the_content() );\n$content = str_replace( &#039;]]&gt;&#039;, &#039;]]&gt;&#039;, $content );\n?&gt;\n\n&lt;div id=&quot;main-content&quot;&gt;\n\t&lt;div class=&quot;title-container&quot;&gt;&lt;h1 class=&quot;tribe-events-single-event-title summary entry-title&quot;&gt;\n&lt;?php \n\tif( tribe_is_month() || tribe_is_week() || tribe_is_day() || tribe_is_map() ) \n\t{\n\t\t$title = &quot;Calendrier des \u00e9v\u00e9nements&quot;;\n\t} \n\telseif( tribe_is_past() || tribe_is_upcoming() ) \n\t{  \n\t\t$title = &quot;Calendrier des \u00e9v\u00e9nements&quot;;\n\t}\n\telse \n\t{\n\t \t$title = get_the_title();\n\t}\n\techo $title;\n?&gt;&lt;\/h1&gt;&lt;\/div&gt;\n\t&lt;div class=&quot;container&quot;&gt;\n\t\t&lt;div id=&quot;content-area&quot; class=&quot;clearfix&quot;&gt;\n\t\t\t&lt;div id=&quot;left-area&quot;&gt;\n\t\t\t\t&lt;article id=&quot;post-&lt;?php the_ID(); ?&gt;&quot; &lt;?php post_class(); ?&gt;&gt;\n                \n\t\t\t\t&lt;?php echo $content; ?&gt;\n    \n\t\t\t\t&lt;\/article&gt; &lt;!-- .et_pb_post --&gt;\n\t\t\t&lt;\/div&gt; &lt;!-- #left-area --&gt;\n\n\t\t\t&lt;?php get_sidebar(); ?&gt;\n\t\t&lt;\/div&gt; &lt;!-- #content-area --&gt;\n\t&lt;\/div&gt; &lt;!-- .container --&gt;\n\n&lt;\/div&gt; &lt;!-- #main-content --&gt;\n\n&lt;?php  endwhile;\n\nget_footer(); ?&gt;<\/code><\/pre>\n<p>Theoretically, it SHOULD gets the Venue&#8217;s name&#8230;<\/p>\n<p>Any suggestions or workaround? I&#8217;ll let you know if I do find something&#8230; But it&#8217;s worth mentionning that perhaps, in config, we should be able to choose a different template file for every single type of tribe things, be it single events, single venues, single organizers, calendar display, so on&#8230; Maybe it&#8217;s possible and I missed that&#8230; let me know!<\/p>\n","protected":false},"template":"","class_list":["post-1011634","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>the_title of single tribe venue not displaying within page.php -<\/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\/the_title-of-single-tribe-venue-not-displaying-within-page-php\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"the_title of single tribe venue not displaying within page.php -\" \/>\n<meta property=\"og:description\" content=\"Greetings Same old issue, this time around, with Single Venues (and I&#8217;m feeling organizer will come after&#8230;). Based on that https:\/\/theeventscalendar.com\/support\/forums\/topic\/the_title-not-displaying-within-page-php\/ discussion, I have a page-event.php template serving as the base for all Tribe Events stuff&#8230; but the workaround I used to display Event&#8217;s title within that file isn&#8217;t working for single venue. Instead of [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/the_title-of-single-tribe-venue-not-displaying-within-page-php\/\" \/>\n<meta property=\"article:modified_time\" content=\"2015-10-23T14:05:04+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=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/the_title-of-single-tribe-venue-not-displaying-within-page-php\/\",\"url\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/the_title-of-single-tribe-venue-not-displaying-within-page-php\/\",\"name\":\"the_title of single tribe venue not displaying within page.php -\",\"isPartOf\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\"},\"datePublished\":\"2015-10-05T21:01:32+00:00\",\"dateModified\":\"2015-10-23T14:05:04+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/the_title-of-single-tribe-venue-not-displaying-within-page-php\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/the_title-of-single-tribe-venue-not-displaying-within-page-php\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/the_title-of-single-tribe-venue-not-displaying-within-page-php\/#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\":\"Community Events\",\"item\":\"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/community-events\/\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"the_title of single tribe venue not displaying within page.php\"}]},{\"@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":"the_title of single tribe venue not displaying within page.php -","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\/the_title-of-single-tribe-venue-not-displaying-within-page-php\/","og_locale":"en_US","og_type":"article","og_title":"the_title of single tribe venue not displaying within page.php -","og_description":"Greetings Same old issue, this time around, with Single Venues (and I&#8217;m feeling organizer will come after&#8230;). Based on that https:\/\/theeventscalendar.com\/support\/forums\/topic\/the_title-not-displaying-within-page-php\/ discussion, I have a page-event.php template serving as the base for all Tribe Events stuff&#8230; but the workaround I used to display Event&#8217;s title within that file isn&#8217;t working for single venue. Instead of [&hellip;]","og_url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/the_title-of-single-tribe-venue-not-displaying-within-page-php\/","article_modified_time":"2015-10-23T14:05:04+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/the_title-of-single-tribe-venue-not-displaying-within-page-php\/","url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/the_title-of-single-tribe-venue-not-displaying-within-page-php\/","name":"the_title of single tribe venue not displaying within page.php -","isPartOf":{"@id":"https:\/\/theeventscalendar.com\/support\/#website"},"datePublished":"2015-10-05T21:01:32+00:00","dateModified":"2015-10-23T14:05:04+00:00","breadcrumb":{"@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/the_title-of-single-tribe-venue-not-displaying-within-page-php\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/theeventscalendar.com\/support\/forums\/topic\/the_title-of-single-tribe-venue-not-displaying-within-page-php\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/the_title-of-single-tribe-venue-not-displaying-within-page-php\/#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":"Community Events","item":"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/community-events\/"},{"@type":"ListItem","position":5,"name":"the_title of single tribe venue not displaying within page.php"}]},{"@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\/1011634","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\/1011634\/revisions"}],"predecessor-version":[{"id":1011787,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1011634\/revisions\/1011787"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/media?parent=1011634"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}