{"id":996417,"date":"2015-08-16T05:49:34","date_gmt":"2015-08-16T12:49:34","guid":{"rendered":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/changing-label-names\/"},"modified":"2015-08-16T11:08:35","modified_gmt":"2015-08-16T18:08:35","slug":"changing-label-names","status":"closed","type":"topic","link":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/changing-label-names\/","title":{"rendered":"changing label names"},"content":{"rendered":"<blockquote class=\"wp-embedded-content\" data-secret=\"ynpvPbSO42\"><p><a href=\"https:\/\/theeventscalendar.com\/knowledgebase\/change-the-wording-of-any-bit-of-text-or-string\/\">Custom Wording in the Calendar<\/a><\/p><\/blockquote>\n<p><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; visibility: hidden;\" title=\"&#8220;Custom Wording in the Calendar&#8221; &#8212; Knowledgebase\" src=\"https:\/\/theeventscalendar.com\/knowledgebase\/change-the-wording-of-any-bit-of-text-or-string\/embed\/#?secret=TTSbQht9Es#?secret=ynpvPbSO42\" data-secret=\"ynpvPbSO42\" width=\"580\" height=\"327\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe><\/p>\n<p>Hi , I want to change the titles of things like Tickets and other titles&#8230; I tried to use the  advice from the link above and I cannot get it to work.  I have added it to the top of the functions file and where you see it below&#8230;I have also removed the &lt;?php tag but this just broke the site&#8230;you will see the code at the bottom&#8230;but as I said I also added it to the top just below the php tag<br \/>\nI am trying not to move to poedit as from previous experiences this can all change back when the plugin is upgraded.<br \/>\n&lt;?php<br \/>\nadd_action( &#8216;wp_enqueue_scripts&#8217;, &#8216;imedica_child_enqueue_styles&#8217; );<br \/>\nfunction imedica_child_enqueue_styles() {<br \/>\n    wp_enqueue_style( &#8216;imedica-parent-style&#8217;, get_template_directory_uri() . &#8216;\/style.css&#8217; );<br \/>\n}<br \/>\nif ( ! defined( &#8216;IMEDICA_CHILD_VERSION&#8217; ) ) {<br \/>\n\tdefine( &#8216;IMEDICA_CHILD_VERSION&#8217;, &#8216;1.1&#8217; );<br \/>\n}<br \/>\n\/*Page loading time optimization*\/<\/p>\n<p>\/\/ Remove query strings from urls<br \/>\nfunction imedica_remove_query_strings( $src ) {<br \/>\n\t$src = remove_query_arg( array( &#8216;v&#8217;, &#8216;ver&#8217;, &#8216;rev&#8217;, &#8216;bg_color&#8217;, &#8216;sensor&#8217; ), $src );<br \/>\n\treturn $src;<br \/>\n}<br \/>\nadd_filter( &#8216;style_loader_src&#8217;, &#8216;imedica_remove_query_strings&#8217;, 10, 2 );<br \/>\nadd_filter( &#8216;script_loader_src&#8217;, &#8216;imedica_remove_query_strings&#8217;, 10, 2 );<\/p>\n<p>\/\/ Defer parsing of JavaScripts<br \/>\nfunction imedica_defer_parsing_js( $url ) {<br \/>\n\tif ( ! is_admin() ) {<br \/>\n\t\tif ( false === strpos( $url, &#8216;.js&#8217; ) ) {<br \/>\n\t\t\treturn $url;<br \/>\n\t\t}<br \/>\n\t\tif ( strpos( $url, &#8216;jquery.js&#8217; ) ) {<br \/>\n\t\t\treturn $url;<br \/>\n\t\t}<br \/>\n\t\tif ( strpos( $url, &#8216;slick.min.js&#8217; ) ) {<br \/>\n\t\t\treturn $url;<br \/>\n\t\t}<br \/>\n\t\tif ( strpos( $url, &#8216;custom.js&#8217; ) ) {<br \/>\n\t\t\treturn $url;<br \/>\n\t\t}<br \/>\n\t\tif ( strpos( $url, &#8216;functions.min.js&#8217; ) ) {<br \/>\n\t\t\treturn $url;<br \/>\n\t\t}<br \/>\n\t\tif ( strpos( $url, &#8216;jquery.bxslider.min.js&#8217; ) ) {<br \/>\n\t\t\treturn $url;<br \/>\n\t\t}<br \/>\n\t\treturn &#8220;$url&#8217; defer=&#8217;defer&#8221;;<br \/>\n\t} else {<br \/>\n\t\treturn $url;<br \/>\n\t}<br \/>\n}<br \/>\nadd_filter( &#8216;clean_url&#8217;, &#8216;imedica_defer_parsing_js&#8217;, 10, 1 );<\/p>\n<p>$custom_text = array(<br \/>\n&#8216;Related Events&#8217; =&gt; &#8216;Similar Events&#8217;,<br \/>\n&#8216;Search&#8217; =&gt; &#8216;Find&#8217;,<br \/>\n);<\/p>\n","protected":false},"template":"","class_list":["post-996417","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>changing label names -<\/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\/changing-label-names\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"changing label names -\" \/>\n<meta property=\"og:description\" content=\"Custom Wording in the Calendar Hi , I want to change the titles of things like Tickets and other titles&#8230; I tried to use the advice from the link above and I cannot get it to work. I have added it to the top of the functions file and where you see it below&#8230;I have [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/changing-label-names\/\" \/>\n<meta property=\"article:modified_time\" content=\"2015-08-16T18:08:35+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\/changing-label-names\/\",\"url\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/changing-label-names\/\",\"name\":\"changing label names -\",\"isPartOf\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\"},\"datePublished\":\"2015-08-16T12:49:34+00:00\",\"dateModified\":\"2015-08-16T18:08:35+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/changing-label-names\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/changing-label-names\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/changing-label-names\/#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\":\"changing label names\"}]},{\"@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":"changing label names -","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\/changing-label-names\/","og_locale":"en_US","og_type":"article","og_title":"changing label names -","og_description":"Custom Wording in the Calendar Hi , I want to change the titles of things like Tickets and other titles&#8230; I tried to use the advice from the link above and I cannot get it to work. I have added it to the top of the functions file and where you see it below&#8230;I have [&hellip;]","og_url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/changing-label-names\/","article_modified_time":"2015-08-16T18:08:35+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\/changing-label-names\/","url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/changing-label-names\/","name":"changing label names -","isPartOf":{"@id":"https:\/\/theeventscalendar.com\/support\/#website"},"datePublished":"2015-08-16T12:49:34+00:00","dateModified":"2015-08-16T18:08:35+00:00","breadcrumb":{"@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/changing-label-names\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/theeventscalendar.com\/support\/forums\/topic\/changing-label-names\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/changing-label-names\/#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":"changing label names"}]},{"@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\/996417","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\/996417\/revisions"}],"predecessor-version":[{"id":996424,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/996417\/revisions\/996424"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/media?parent=996417"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}