{"id":1101543,"date":"2016-04-12T12:40:24","date_gmt":"2016-04-12T19:40:24","guid":{"rendered":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/changing-rsvp-to-register\/"},"modified":"2016-04-27T09:35:05","modified_gmt":"2016-04-27T16:35:05","slug":"changing-rsvp-to-register","status":"closed","type":"topic","link":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/changing-rsvp-to-register\/","title":{"rendered":"Changing RSVP to Register"},"content":{"rendered":"<p>I tried to follow the directions here but when I add to the functions.php file it white screens my website.<\/p>\n<blockquote class=\"wp-embedded-content\" data-secret=\"ic8LMW5UwL\"><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=NkeumKDnNL#?secret=ic8LMW5UwL\" data-secret=\"ic8LMW5UwL\" width=\"580\" height=\"327\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe><\/p>\n<p>Here is my current functions.php file.  Where do i add the code?<\/p>\n<p>&lt;?php<\/p>\n<p>\/**<br \/>\n * Starts Headway<br \/>\n *<br \/>\n * @package Headway<br \/>\n * @author Clay Griffiths<br \/>\n *\/<\/p>\n<p>\/* Prevent direct access to this file *\/<br \/>\nif ( !defined(&#8216;WP_CONTENT_DIR&#8217;) )<br \/>\n\tdie(&#8216;Please do not access this file directly.&#8217;);<\/p>\n<p>\/* Make sure PHP 5.2 or newer is installed and WordPress 3.2 or newer is installed. *\/<br \/>\nrequire_once get_template_directory() . &#8216;\/library\/common\/compatibility-checks.php&#8217;;<\/p>\n<p>\/* Load Headway! *\/<br \/>\nrequire_once get_template_directory() . &#8216;\/library\/common\/functions.php&#8217;;<br \/>\nrequire_once get_template_directory() . &#8216;\/library\/common\/application.php&#8217;;<\/p>\n<p>Headway::init();<\/p>\n<p>\/**<br \/>\n * Allows visitors to page forward\/backwards in any direction within month view<br \/>\n * an &#8220;infinite&#8221; number of times (ie, outwith the populated range of months).<br \/>\n *\/<\/p>\n<p>if ( class_exists( &#8216;Tribe__Events__Main&#8217; ) ) {<\/p>\n<p>\tclass ContinualMonthViewPagination {<br \/>\n\t    public function __construct() {<br \/>\n\t        add_filter( &#8216;tribe_events_the_next_month_link&#8217;, array( $this, &#8216;next_month&#8217; ) );<br \/>\n\t        add_filter( &#8216;tribe_events_the_previous_month_link&#8217;, array( $this, &#8216;previous_month&#8217; ) );<br \/>\n\t    }<\/p>\n<p>\t    public function next_month() {<br \/>\n\t        $url = tribe_get_next_month_link();<br \/>\n\t        $text = tribe_get_next_month_text();<br \/>\n\t        $date = Tribe__Events__Main::instance()-&gt;nextMonth( tribe_get_month_view_date() );<br \/>\n\t        return &#8216;<a href=\"' . $url . '\" rel=\"next\">&#8216; . $text . &#8216; &lt;span&gt;&raquo;&lt;\/span&gt;<\/a>&#8216;;<br \/>\n\t    }<\/p>\n<p>\t    public function previous_month() {<br \/>\n\t        $url = tribe_get_previous_month_link();<br \/>\n\t        $text = tribe_get_previous_month_text();<br \/>\n\t        $date = Tribe__Events__Main::instance()-&gt;previousMonth( tribe_get_month_view_date() );<br \/>\n\t        return &#8216;<a href=\"' . $url . '\" rel=\"prev\">&lt;span&gt;&laquo;&lt;\/span&gt; &#8216; . $text . &#8216; <\/a>&#8216;;<br \/>\n\t    }<br \/>\n\t}<\/p>\n<p>\tnew ContinualMonthViewPagination;<\/p>\n<p>}<\/p>\n","protected":false},"template":"","class_list":["post-1101543","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 RSVP to Register -<\/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-rsvp-to-register\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Changing RSVP to Register -\" \/>\n<meta property=\"og:description\" content=\"I tried to follow the directions here but when I add to the functions.php file it white screens my website. Custom Wording in the Calendar Here is my current functions.php file. Where do i add the code? &lt;?php \/** * Starts Headway * * @package Headway * @author Clay Griffiths *\/ \/* Prevent direct access [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/changing-rsvp-to-register\/\" \/>\n<meta property=\"article:modified_time\" content=\"2016-04-27T16:35:05+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-rsvp-to-register\/\",\"url\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/changing-rsvp-to-register\/\",\"name\":\"Changing RSVP to Register -\",\"isPartOf\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\"},\"datePublished\":\"2016-04-12T19:40:24+00:00\",\"dateModified\":\"2016-04-27T16:35:05+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/changing-rsvp-to-register\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/changing-rsvp-to-register\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/changing-rsvp-to-register\/#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 RSVP to Register\"}]},{\"@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 RSVP to Register -","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-rsvp-to-register\/","og_locale":"en_US","og_type":"article","og_title":"Changing RSVP to Register -","og_description":"I tried to follow the directions here but when I add to the functions.php file it white screens my website. Custom Wording in the Calendar Here is my current functions.php file. Where do i add the code? &lt;?php \/** * Starts Headway * * @package Headway * @author Clay Griffiths *\/ \/* Prevent direct access [&hellip;]","og_url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/changing-rsvp-to-register\/","article_modified_time":"2016-04-27T16:35:05+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-rsvp-to-register\/","url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/changing-rsvp-to-register\/","name":"Changing RSVP to Register -","isPartOf":{"@id":"https:\/\/theeventscalendar.com\/support\/#website"},"datePublished":"2016-04-12T19:40:24+00:00","dateModified":"2016-04-27T16:35:05+00:00","breadcrumb":{"@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/changing-rsvp-to-register\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/theeventscalendar.com\/support\/forums\/topic\/changing-rsvp-to-register\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/changing-rsvp-to-register\/#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 RSVP to Register"}]},{"@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\/1101543","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\/1101543\/revisions"}],"predecessor-version":[{"id":1101665,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1101543\/revisions\/1101665"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/media?parent=1101543"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}