{"id":957928,"date":"2015-04-23T15:44:51","date_gmt":"2015-04-23T22:44:51","guid":{"rendered":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/change-event-category-in-event-detail-page\/"},"modified":"2015-04-24T17:46:18","modified_gmt":"2015-04-25T00:46:18","slug":"change-event-category-in-event-detail-page","status":"closed","type":"topic","link":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/change-event-category-in-event-detail-page\/","title":{"rendered":"change &#039;Event Category&#039; in Event Detail page"},"content":{"rendered":"<p>hello,<br \/>\nwhere can i change &#8216;Event Category&#8217; to &#8216;Internships&#8217; in Event Detail page?<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/www.seocareer.org\/wordpress2014\/wp-content\/themes\/Builder-Air-Career2\/detailpage.jpg\" alt=\"detail page\" \/><\/p>\n<p>i would also like to turn off the links of those categories.<\/p>\n<p>I tried putting it into my formerly successful functions.php snippet, but no go:<\/p>\n<pre><code>function tribe_custom_theme_text ( $translations, $text, $domain ) {\n \n\t\/\/ Put your custom text here in a key =&gt; value pair\n\t\/\/ Example: &#039;Text you want to change&#039; =&gt; &#039;This is what it will be changed to&#039;\n\t\/\/ The text you want to change is the key, and it is case-sensitive\n\t\/\/ The text you want to change it to is the value\n\t\/\/ You can freely add or remove key =&gt; values, but make sure to separate them with a comma\n\t\/\/ This example changes the label &quot;Venue&quot; to &quot;Location&quot;, and &quot;Related Events&quot; to &quot;Similar Events&quot;\n\t$custom_text = array(\n\t\t&#039;Select&#039; =&gt; &#039;Location&#039;,\n\t\t&#039;All Events&#039; =&gt; &#039;All Internships&#039;,\n\t\t&#039;There were no results found.&#039; =&gt; &#039;There were no results found \u2014 see next month.&#039;,\n\t\t&#039;Event Categories:&#039; =&gt; &#039;Internships&#039;\n\t);\n \n\t\/\/ If this text domain starts with &quot;tribe-&quot;, and we have replacement text\n\tif(strpos($domain, &#039;tribe-&#039;) === 0 &amp;&amp; array_key_exists($text, $custom_text) ) {\n\t\t$text = $custom_text[$text];\n\t}\n \n\treturn $text;\n}\nadd_filter(&#039;gettext&#039;, &#039;tribe_custom_theme_text&#039;, 20, 3);<\/code><\/pre>\n<p>and also<\/p>\n<pre><code>add_action( &#039;tribe_pre_get_view&#039;, &#039;change_custom_field_meta_label&#039; );\n\nfunction change_custom_field_meta_label() {\n\ttribe_set_meta_label( &#039;tribe_event_tag&#039;, &#039;NEW LABEL!&#039;, &#039;meta&#039; );\n\ttribe_set_meta_label( &#039;tribe_event_category&#039;, &#039;Internship&#039;, &#039;meta&#039; );\n}<\/code><\/pre>\n<p>please tell me its an easy fix. thank you.<\/p>\n","protected":false},"template":"","class_list":["post-957928","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>change &#039;Event Category&#039; in Event Detail page -<\/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\/change-event-category-in-event-detail-page\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"change &#039;Event Category&#039; in Event Detail page -\" \/>\n<meta property=\"og:description\" content=\"hello, where can i change &#8216;Event Category&#8217; to &#8216;Internships&#8217; in Event Detail page? i would also like to turn off the links of those categories. I tried putting it into my formerly successful functions.php snippet, but no go: function tribe_custom_theme_text ( $translations, $text, $domain ) { \/\/ Put your custom text here in a key [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/change-event-category-in-event-detail-page\/\" \/>\n<meta property=\"article:modified_time\" content=\"2015-04-25T00:46:18+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/www.seocareer.org\/wordpress2014\/wp-content\/themes\/Builder-Air-Career2\/detailpage.jpg\" \/>\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\/change-event-category-in-event-detail-page\/\",\"url\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/change-event-category-in-event-detail-page\/\",\"name\":\"change &#039;Event Category&#039; in Event Detail page -\",\"isPartOf\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/change-event-category-in-event-detail-page\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/change-event-category-in-event-detail-page\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/www.seocareer.org\/wordpress2014\/wp-content\/themes\/Builder-Air-Career2\/detailpage.jpg\",\"datePublished\":\"2015-04-23T22:44:51+00:00\",\"dateModified\":\"2015-04-25T00:46:18+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/change-event-category-in-event-detail-page\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/change-event-category-in-event-detail-page\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/change-event-category-in-event-detail-page\/#primaryimage\",\"url\":\"http:\/\/www.seocareer.org\/wordpress2014\/wp-content\/themes\/Builder-Air-Career2\/detailpage.jpg\",\"contentUrl\":\"http:\/\/www.seocareer.org\/wordpress2014\/wp-content\/themes\/Builder-Air-Career2\/detailpage.jpg\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/change-event-category-in-event-detail-page\/#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\":\"change &#039;Event Category&#039; in Event Detail page\"}]},{\"@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":"change &#039;Event Category&#039; in Event Detail page -","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\/change-event-category-in-event-detail-page\/","og_locale":"en_US","og_type":"article","og_title":"change &#039;Event Category&#039; in Event Detail page -","og_description":"hello, where can i change &#8216;Event Category&#8217; to &#8216;Internships&#8217; in Event Detail page? i would also like to turn off the links of those categories. I tried putting it into my formerly successful functions.php snippet, but no go: function tribe_custom_theme_text ( $translations, $text, $domain ) { \/\/ Put your custom text here in a key [&hellip;]","og_url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/change-event-category-in-event-detail-page\/","article_modified_time":"2015-04-25T00:46:18+00:00","og_image":[{"url":"http:\/\/www.seocareer.org\/wordpress2014\/wp-content\/themes\/Builder-Air-Career2\/detailpage.jpg","type":"","width":"","height":""}],"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\/change-event-category-in-event-detail-page\/","url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/change-event-category-in-event-detail-page\/","name":"change &#039;Event Category&#039; in Event Detail page -","isPartOf":{"@id":"https:\/\/theeventscalendar.com\/support\/#website"},"primaryImageOfPage":{"@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/change-event-category-in-event-detail-page\/#primaryimage"},"image":{"@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/change-event-category-in-event-detail-page\/#primaryimage"},"thumbnailUrl":"http:\/\/www.seocareer.org\/wordpress2014\/wp-content\/themes\/Builder-Air-Career2\/detailpage.jpg","datePublished":"2015-04-23T22:44:51+00:00","dateModified":"2015-04-25T00:46:18+00:00","breadcrumb":{"@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/change-event-category-in-event-detail-page\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/theeventscalendar.com\/support\/forums\/topic\/change-event-category-in-event-detail-page\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/change-event-category-in-event-detail-page\/#primaryimage","url":"http:\/\/www.seocareer.org\/wordpress2014\/wp-content\/themes\/Builder-Air-Career2\/detailpage.jpg","contentUrl":"http:\/\/www.seocareer.org\/wordpress2014\/wp-content\/themes\/Builder-Air-Career2\/detailpage.jpg"},{"@type":"BreadcrumbList","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/change-event-category-in-event-detail-page\/#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":"change &#039;Event Category&#039; in Event Detail page"}]},{"@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\/957928","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\/957928\/revisions"}],"predecessor-version":[{"id":957944,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/957928\/revisions\/957944"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/media?parent=957928"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}