{"id":1947987,"date":"2020-08-20T09:40:07","date_gmt":"2020-08-20T13:40:07","guid":{"rendered":"https:\/\/theeventscalendar.com\/knowledgebase\/?post_type=tribe-knowledgebase&#038;p=1947987"},"modified":"2026-04-08T12:20:20","modified_gmt":"2026-04-08T16:20:20","slug":"changing-the-term-events","status":"publish","type":"post","link":"https:\/\/theeventscalendar.com\/knowledgebase\/changing-the-term-events\/","title":{"rendered":"Changing the term &#8220;Events&#8221; for The Events Calendar"},"content":{"rendered":"\n<p>Are you working on a custom template and you want to use the same translated event terms we do in your new template? Do you have a site that only deals in a specific <strong>type<\/strong> of event? Would you rather use that word instead of event\/events throughout the site? Or maybe you feel like the translation of the word is incorrect for your use and you want to provide your own translated term?<\/p>\n\n\n\n<p>Well, we&#8217;ve got ways for you to do just that!<\/p>\n\n\n\n<p><strong>If you&#8217;re looking to change the terms of Tickets and RSVPs we have <a href=\"https:\/\/theeventscalendar.com\/knowledgebase\/changing-ticket-and-rsvp-labels\/\">a guide for that here.<\/a><\/strong><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-change-the-term-events-using-filters\">Change the Term &#8220;Events&#8221; Using Filters<\/h2>\n\n\n\n<p>First, to get the existing terms we have four functions in The Events Calendar:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>tribe_get_event_label_singular<\/code><\/li>\n\n\n\n<li><code>tribe_get_event_label_singular_lowercase<\/code><\/li>\n\n\n\n<li><code>tribe_get_event_label_plural and<\/code><\/li>\n\n\n\n<li><code>tribe_get_event_label_plural_lowercase<\/code><\/li>\n<\/ul>\n\n\n\n<p>Notice we have separate ones for plurals (&#8220;events&#8221; vs. &#8220;event&#8221;) and for lowercase (&#8220;Event&#8221; vs &#8220;event&#8221;). This makes it easier for folks to use them in correct context &#8211; for example, in a title we&#8217;d use <code>tribe_get_event_label_singular<\/code> or <code>tribe_get_event_label_plural<\/code> as titles (in English and other languages) are typically capitalized, whereas in a content block we&#8217;d use <code>tribe_get_event_label_singular_lowercase<\/code> or <code>tribe_get_event_label_plural_lowercase<\/code>. <\/p>\n\n\n\n<p>Knowing that context helps translators (and folks like you!) choose the correct word, and in some instances alter the capitalization (in German for example, &#8220;Event&#8221; as a noun is always capitalized).<\/p>\n\n\n\n<p>But what if you don&#8217;t want to use &#8220;event&#8221; &#8211; what if you want to use &#8220;concert&#8221;?<\/p>\n\n\n\n<p>Well, each of those functions has a filter in it. <a href=\"https:\/\/developer.wordpress.org\/plugins\/hooks\/filters\/\" target=\"_blank\" rel=\"noreferrer noopener\">WordPress<\/a> filters allow you to change data before it is used &#8211; in this case, the strings for the event terms. As you might expect, since there are four functions, there are four filters. We tried to make them easy to remember &#8211; they are the functions&#8217; names, without the &#8220;get&#8221;:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>tribe_event_label_singular<\/code><\/li>\n\n\n\n<li><code>tribe_event_label_singular_lowercase<\/code><\/li>\n\n\n\n<li><code>tribe_event_label_plural and<\/code><\/li>\n\n\n\n<li><code>tribe_event_label_plural_lowercase<\/code><\/li>\n<\/ul>\n\n\n\n<p>Remember we mentioned translation patching above? One caveat of these filters is they are applied <em>after the word has been translated<\/em> &#8211; so if you have a non-English site, using them will override the translation.<\/p>\n\n\n\n<p>As an example, (our site is in German) here&#8217;s our calendar search bar:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2020\/08\/german.png\" alt=\"changing the term events\" class=\"wp-image-1947988\"\/><\/figure>\n\n\n\n<p>Now we filter the &#8220;event&#8221; terms to use &#8220;concert&#8221; instead (specifically, we&#8217;re filtering <code>tribe_event_label_plural<\/code> to use &#8220;Concerts&#8221;):<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2020\/08\/filtered_german.png\" alt=\"changing the term events\" class=\"wp-image-1947989\"\/><\/figure>\n\n\n\n<p>The term is applied after the translations, so &#8220;Finde&#8221; (&#8220;Find&#8221;, in English) stays translated, but &#8220;Concerts&#8221; does not get translated. This could be an issue on some sites, so test it carefully, but that also means you can tweak the translation of the word if you feel it&#8217;s incorrect!<\/p>\n\n\n\n<p>To utilize one of these filters is fairly easy. You&#8217;ll want to add some code to your theme&#8217;s functions.php file.<\/p>\n\n\n\n<p>So, continuing our &#8220;concerts&#8221; example, to change all instances of the words from event\/events to concert\/concerts we&#8217;d put the following in our file:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: php; title: ; notranslate\" title=\"\">\nadd_filter( &#039;tribe_event_label_singular&#039;, function() { return &#039;Concert&#039;; } );\nadd_filter( &#039;tribe_event_label_singular_lowercase&#039;, function() { return &#039;concert&#039;; } );\nadd_filter( &#039;tribe_event_label_plural&#039;, function() { return &#039;Concerts&#039;; } );\nadd_filter( &#039;tribe_event_label_plural_lowercase&#039;, function() { return &#039;concerts&#039;; } );\n<\/pre><\/div>\n\n\n<p>And then we&#8217;ll see this:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img decoding=\"async\" src=\"\/knowledgebase\/wp-content\/uploads\/2020\/08\/concerts-1024x126.png\" alt=\"changing the term events\" class=\"wp-image-1947993\" style=\"width:827px;height:102px\"\/><\/figure><\/div>\n\n\n<p>It&#8217;s also worth mentioning that all of our other plugins respect these filters, so if you are using Filter Bar you&#8217;ll see this:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img decoding=\"async\" src=\"\/knowledgebase\/wp-content\/uploads\/2020\/08\/filterbar_concerts-575x1024.png\" alt=\"changing the term events affects filter bar as well\" class=\"wp-image-1947994\" style=\"width:381px;height:678px\"\/><\/figure><\/div>\n\n\n<p>You can also manually change the names of Filter Bar filters by going to Events &gt; Settings &gt; Filters and then opening the one you want to change in the Active Filters list.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-changing-the-calendar-s-url-slugs\">Changing the Calendar\u2019s URL Slugs<\/h2>\n\n\n\n<p>The event slugs for your calendar\u2019s URLs are controlled via settings at Events > Settings > General > Viewing. The URLs will always use the slugs defined there, even if you are using a different language for your site. If you are using a different language for your site or you want to use a different word (e.g. &#8220;concerts&#8221;), you&#8217;ll want to adjust the slug settings.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Are you working on a custom template and you want to use the same translated event terms we do in your new template? Do you have a site that only deals in a specific type of event? Would you rather use that word instead of event\/events throughout the site? Or maybe you feel like the&#8230;<\/p>\n","protected":false},"author":5,"featured_media":1955565,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_kad_blocks_custom_css":"","_kad_blocks_head_custom_js":"","_kad_blocks_body_custom_js":"","_kad_blocks_footer_custom_js":"","_swpsp_post_exclude":false,"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"ep_exclude_from_search":false,"footnotes":""},"categories":[24,128,59,79],"tags":[25,58,92],"stellar-product-taxonomy":[152,161],"class_list":["post-1947987","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-customizing","category-languages-translations","category-php-function-snippets","category-snippets","tag-customizations","tag-php","tag-translations","stellar-product-taxonomy-community-events","stellar-product-taxonomy-the-events-calendar"],"acf":[],"taxonomy_info":{"category":[{"value":24,"label":"Customizations"},{"value":128,"label":"Languages &amp; Translations"},{"value":59,"label":"PHP Functions &amp; Snippets"},{"value":79,"label":"Snippets"}],"post_tag":[{"value":25,"label":"Customizations"},{"value":58,"label":"PHP"},{"value":92,"label":"Translations"}],"stellar-product-taxonomy":[{"value":152,"label":"Community"},{"value":161,"label":"The Events Calendar"}]},"featured_image_src_large":["https:\/\/images.theeventscalendar.com\/kb\/uploads\/2023\/02\/social-share-1024x538.png",1024,538,true],"author_info":{"display_name":"Leah","author_link":"https:\/\/theeventscalendar.com\/knowledgebase\/author\/leahk\/"},"comment_info":0,"category_info":[{"term_id":24,"name":"Customizations","slug":"customizing","term_group":0,"term_taxonomy_id":24,"taxonomy":"category","description":"","parent":0,"count":157,"filter":"raw","term_order":"0","cat_ID":24,"category_count":157,"category_description":"","cat_name":"Customizations","category_nicename":"customizing","category_parent":0},{"term_id":128,"name":"Languages &amp; Translations","slug":"languages-translations","term_group":0,"term_taxonomy_id":128,"taxonomy":"category","description":"","parent":61,"count":5,"filter":"raw","term_order":"0","cat_ID":128,"category_count":5,"category_description":"","cat_name":"Languages &amp; Translations","category_nicename":"languages-translations","category_parent":61},{"term_id":59,"name":"PHP Functions &amp; Snippets","slug":"php-function-snippets","term_group":0,"term_taxonomy_id":59,"taxonomy":"category","description":"","parent":24,"count":127,"filter":"raw","term_order":"0","cat_ID":59,"category_count":127,"category_description":"","cat_name":"PHP Functions &amp; Snippets","category_nicename":"php-function-snippets","category_parent":24},{"term_id":79,"name":"Snippets","slug":"snippets","term_group":0,"term_taxonomy_id":79,"taxonomy":"category","description":"","parent":0,"count":80,"filter":"raw","term_order":"0","cat_ID":79,"category_count":80,"category_description":"","cat_name":"Snippets","category_nicename":"snippets","category_parent":0}],"tag_info":[{"term_id":25,"name":"Customizations","slug":"customizations","term_group":0,"term_taxonomy_id":25,"taxonomy":"post_tag","description":"","parent":0,"count":102,"filter":"raw","term_order":"0"},{"term_id":58,"name":"PHP","slug":"php","term_group":0,"term_taxonomy_id":58,"taxonomy":"post_tag","description":"","parent":20,"count":78,"filter":"raw","term_order":"0"},{"term_id":92,"name":"Translations","slug":"translations","term_group":0,"term_taxonomy_id":92,"taxonomy":"post_tag","description":"","parent":0,"count":6,"filter":"raw","term_order":"0"}],"_links":{"self":[{"href":"https:\/\/theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/1947987","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/comments?post=1947987"}],"version-history":[{"count":5,"href":"https:\/\/theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/1947987\/revisions"}],"predecessor-version":[{"id":1968634,"href":"https:\/\/theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/1947987\/revisions\/1968634"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/media\/1955565"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/media?parent=1947987"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/categories?post=1947987"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/tags?post=1947987"},{"taxonomy":"stellar-product-taxonomy","embeddable":true,"href":"https:\/\/theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/stellar-product-taxonomy?post=1947987"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}