{"id":1965238,"date":"2025-05-22T06:24:41","date_gmt":"2025-05-22T10:24:41","guid":{"rendered":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/?p=1965238"},"modified":"2025-05-22T06:24:42","modified_gmt":"2025-05-22T10:24:42","slug":"how-to-change-the-tickets-label-to-vouchers-in-event-tickets","status":"publish","type":"post","link":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/how-to-change-the-tickets-label-to-vouchers-in-event-tickets\/","title":{"rendered":"How to Change the &#8220;Tickets&#8221; Label to &#8220;Vouchers&#8221; in Event Tickets"},"content":{"rendered":"\n<p>If you want to change the word &#8220;Tickets&#8221; to something else like &#8220;Vouchers&#8221; in The Events Calendar&#8217;s Event Tickets plugin, you can do so by overriding the plugin template and applying some custom CSS.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Step 1: Override the Template File<\/h3>\n\n\n\n<p><strong>1. Locate the original template file:<\/strong><\/p>\n\n\n\n<p>Navigate to:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>wp-content\/plugins\/event-tickets\/src\/views\/v2\/tickets\/title.php<\/code><\/pre>\n\n\n\n<p><strong>2. Copy the file:<\/strong><\/p>\n\n\n\n<p>Duplicate the <code>title.php<\/code> file from the plugin directory.<\/p>\n\n\n\n<p><strong>3. Paste into your theme:<\/strong><\/p>\n\n\n\n<p>Place the copied file in your theme at:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>wp-content\/themes\/your-theme\/tribe\/tickets\/v2\/tickets\/title.php<\/code><\/pre>\n\n\n\n<p><strong>4. Edit the file:<\/strong><\/p>\n\n\n\n<p>Open the newly copied <code>title.php<\/code> in a code editor.<\/p>\n\n\n\n<p>Locate this line (around line 39):<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>&lt;?php echo esc_html( tribe_get_ticket_label_plural( 'event-tickets' ) ); ?&gt;<\/code><\/pre>\n\n\n\n<p>Replace it with:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code><code>Vouchers<\/code><\/code><\/pre>\n\n\n\n<p>You can change <code>\"Vouchers\"<\/code> to any custom label you&#8217;d like to display.<\/p>\n\n\n\n<p>Add the code snippet to the <em>functions.php<\/em> file of your theme, or use your preferred method for integrating snippets into your WordPress site, such as the free <a href=\"https:\/\/wordpress.org\/plugins\/code-snippets\/\" target=\"_blank\" rel=\"noreferrer noopener\">Code Snippets<\/a> plugin.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"h-step-2-add-custom-css\">Step 2: Add Custom CSS<\/h4>\n\n\n\n<p>To further adjust the appearance and ensure the label is replaced everywhere visually:<\/p>\n\n\n\n<ol start=\"1\" class=\"wp-block-list\">\n<li><strong>Go <\/strong>to <strong>Appearance &gt; Customize &gt; Additional CSS <\/strong>in your WordPress dashboard.<\/li>\n\n\n\n<li>The <code>!important<\/code> rule in CSS is used to give a style higher priority, overriding other conflicting styles. It forces the browser to apply the specified style, even if other styles are defined elsewhere. However, it should be used sparingly because excessive use can make the CSS harder to maintain and debug.<\/li>\n\n\n\n<li>In this case, <code>!important <\/code>ensures that the font size and content replacement are applied even if other styles are competing.<\/li>\n\n\n\n<li><strong>Add the following CSS:<\/strong><\/li>\n<\/ol>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n.tribe-common-h--alt,\n.tribe-tickets__tickets-title {\n    font-size: 0 !important;\n}\n\n.tribe-common-h--alt::after,\n.tribe-tickets__tickets-title::after {\n    content: &quot;Vouchers&quot; !important;\n    font-size: 20px !important;\n}\n<\/pre><\/div>\n\n\n<p>This CSS hides the original label and replaces it visually with &#8220;Vouchers.&#8221;<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you want to change the word &#8220;Tickets&#8221; to something else like &#8220;Vouchers&#8221; in The Events Calendar&#8217;s Event Tickets plugin, you can do so by overriding the plugin template and applying some custom CSS. Step 1: Override the Template File 1. Locate the original template file: Navigate to: wp-content\/plugins\/event-tickets\/src\/views\/v2\/tickets\/title.php 2. Copy the file: Duplicate the&#8230;<\/p>\n","protected":false},"author":27,"featured_media":1955565,"comment_status":"open","ping_status":"open","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":[116,24],"tags":[23,25],"stellar-product-taxonomy":[],"class_list":["post-1965238","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-css-styling","category-customizing","tag-css","tag-customizations"],"acf":[],"taxonomy_info":{"category":[{"value":116,"label":"CSS &amp; Styling"},{"value":24,"label":"Customizations"}],"post_tag":[{"value":23,"label":"CSS"},{"value":25,"label":"Customizations"}]},"featured_image_src_large":["https:\/\/images.theeventscalendar.com\/kb\/uploads\/2023\/02\/social-share-1024x538.png",1024,538,true],"author_info":{"display_name":"Abz","author_link":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/author\/abz\/"},"comment_info":0,"category_info":[{"term_id":116,"name":"CSS &amp; Styling","slug":"css-styling","term_group":0,"term_taxonomy_id":116,"taxonomy":"category","description":"","parent":24,"count":33,"filter":"raw","term_order":"0","cat_ID":116,"category_count":33,"category_description":"","cat_name":"CSS &amp; Styling","category_nicename":"css-styling","category_parent":24},{"term_id":24,"name":"Customizations","slug":"customizing","term_group":0,"term_taxonomy_id":24,"taxonomy":"category","description":"","parent":0,"count":110,"filter":"raw","term_order":"0","cat_ID":24,"category_count":110,"category_description":"","cat_name":"Customizations","category_nicename":"customizing","category_parent":0}],"tag_info":[{"term_id":23,"name":"CSS","slug":"css","term_group":0,"term_taxonomy_id":23,"taxonomy":"post_tag","description":"","parent":20,"count":48,"filter":"raw","term_order":"0"},{"term_id":25,"name":"Customizations","slug":"customizations","term_group":0,"term_taxonomy_id":25,"taxonomy":"post_tag","description":"","parent":0,"count":177,"filter":"raw","term_order":"0"}],"_links":{"self":[{"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/1965238","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/users\/27"}],"replies":[{"embeddable":true,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/comments?post=1965238"}],"version-history":[{"count":11,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/1965238\/revisions"}],"predecessor-version":[{"id":1965437,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/1965238\/revisions\/1965437"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/media\/1955565"}],"wp:attachment":[{"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/media?parent=1965238"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/categories?post=1965238"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/tags?post=1965238"},{"taxonomy":"stellar-product-taxonomy","embeddable":true,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/stellar-product-taxonomy?post=1965238"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}