{"id":1415,"date":"2025-07-08T19:10:50","date_gmt":"2025-07-08T19:10:50","guid":{"rendered":"https:\/\/digitaldocumentation.wustl.edu\/commencement\/?page_id=1415"},"modified":"2025-07-08T19:12:36","modified_gmt":"2025-07-08T19:12:36","slug":"updating-the-chatbot","status":"publish","type":"page","link":"https:\/\/digitaldocumentation.wustl.edu\/commencement\/troubleshooting\/updating-the-chatbot\/","title":{"rendered":"Updating the chatbot"},"content":{"rendered":"\n<p class=\"is-style-lead\">The Tassel chatbot provides information and answer questions regarding the Commencement ceremony. It serves as an immediate and accessible resource for users seeking details about the event and needs to be updated every year.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Locate the current code<\/h2>\n\n\n\n<ol>\n<li><strong>Log In:<\/strong> Log in to your WashU Sites admin dashboard.<\/li>\n\n\n\n<li><strong>Navigate to the Customizer:<\/strong> From your dashboard, click \u2018Appearance\u2019 > \u2018Customize.\u2019<\/li>\n\n\n\n<li><strong>Find Footer Settings: <\/strong>Look for a section in the Customizer menu labeled &#8220;Footer Settings.\u201d<\/li>\n\n\n\n<li><strong>Locate the Custom Code Field<\/strong>: Inside the Footer Settings, find the field specifically designated for custom code: &#8220;Custom PHP.\u201d<\/li>\n\n\n\n<li><strong>Identify the Target Code: <\/strong>Carefully examine the code currently in the field. Locate the exact block of code that includes the text: messenger.api.42chat.com. <\/li>\n<\/ol>\n\n\n\n<p><em>Example of what to look for:<\/em><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"172\" height=\"246\" src=\"https:\/\/digitaldocumentation.wustl.edu\/commencement\/wp-content\/uploads\/sites\/55\/2025\/07\/Picture3.png\" alt=\"\" class=\"wp-image-1420\"\/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Replace only the target code:<\/h2>\n\n\n\n<ol>\n<li>Select <em>only<\/em> the code block you identified in the previous step (e.g., from to or just the part itself). <\/li>\n\n\n\n<li><strong>Be very careful<\/strong> not to delete or alter any other code that might be present in the Custom PHP field if it&#8217;s unrelated to the chatbot (e.g. the sustainability logo).<\/li>\n\n\n\n<li>Delete the selected code block.<\/li>\n\n\n\n<li>Paste your new code snippet into the exact spot where the old code was.<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">Publish changes<\/h2>\n\n\n\n<ol>\n<li>Click the &#8220;Publish&#8221; button at the top of the Customizer panel to make your changes live.<\/li>\n\n\n\n<li>Verify: Open your website in a new browser tab (or clear your cache and refresh) and check if the new script is working as expected and that the old chatbot feature is gone.<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>The Tassel chatbot provides information and answer questions regarding the Commencement ceremony. It serves as an immediate and accessible resource for users seeking details about the event and needs to be updated every year. Locate the current code Example of what to look for: Replace only the target code: Publish changes<\/p>\n","protected":false},"author":29,"featured_media":0,"parent":108,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v19.14 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Updating the chatbot - Commencement<\/title>\n<meta name=\"robots\" content=\"noindex, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Updating the chatbot - Commencement\" \/>\n<meta property=\"og:description\" content=\"The Tassel chatbot provides information and answer questions regarding the Commencement ceremony. It serves as an immediate and accessible resource for users seeking details about the event and needs to be updated every year. Locate the current code Example of what to look for: Replace only the target code: Publish changes\" \/>\n<meta property=\"og:url\" content=\"https:\/\/digitaldocumentation.wustl.edu\/commencement\/troubleshooting\/updating-the-chatbot\/\" \/>\n<meta property=\"og:site_name\" content=\"Commencement\" \/>\n<meta property=\"article:modified_time\" content=\"2025-07-08T19:12:36+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/digitaldocumentation.wustl.edu\/commencement\/wp-content\/uploads\/sites\/55\/2025\/07\/Picture3.png\" \/>\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:\/\/digitaldocumentation.wustl.edu\/commencement\/troubleshooting\/updating-the-chatbot\/\",\"url\":\"https:\/\/digitaldocumentation.wustl.edu\/commencement\/troubleshooting\/updating-the-chatbot\/\",\"name\":\"Updating the chatbot - Commencement\",\"isPartOf\":{\"@id\":\"https:\/\/digitaldocumentation.wustl.edu\/commencement\/#website\"},\"datePublished\":\"2025-07-08T19:10:50+00:00\",\"dateModified\":\"2025-07-08T19:12:36+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/digitaldocumentation.wustl.edu\/commencement\/troubleshooting\/updating-the-chatbot\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/digitaldocumentation.wustl.edu\/commencement\/troubleshooting\/updating-the-chatbot\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/digitaldocumentation.wustl.edu\/commencement\/troubleshooting\/updating-the-chatbot\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/digitaldocumentation.wustl.edu\/commencement\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Troubleshooting\",\"item\":\"https:\/\/digitaldocumentation.wustl.edu\/commencement\/troubleshooting\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Updating the chatbot\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/digitaldocumentation.wustl.edu\/commencement\/#website\",\"url\":\"https:\/\/digitaldocumentation.wustl.edu\/commencement\/\",\"name\":\"Commencement\",\"description\":\"Just another digitaldocumentation.wustl.edu Sites site\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/digitaldocumentation.wustl.edu\/commencement\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Updating the chatbot - Commencement","robots":{"index":"noindex","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"og_locale":"en_US","og_type":"article","og_title":"Updating the chatbot - Commencement","og_description":"The Tassel chatbot provides information and answer questions regarding the Commencement ceremony. It serves as an immediate and accessible resource for users seeking details about the event and needs to be updated every year. Locate the current code Example of what to look for: Replace only the target code: Publish changes","og_url":"https:\/\/digitaldocumentation.wustl.edu\/commencement\/troubleshooting\/updating-the-chatbot\/","og_site_name":"Commencement","article_modified_time":"2025-07-08T19:12:36+00:00","og_image":[{"url":"https:\/\/digitaldocumentation.wustl.edu\/commencement\/wp-content\/uploads\/sites\/55\/2025\/07\/Picture3.png"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/digitaldocumentation.wustl.edu\/commencement\/troubleshooting\/updating-the-chatbot\/","url":"https:\/\/digitaldocumentation.wustl.edu\/commencement\/troubleshooting\/updating-the-chatbot\/","name":"Updating the chatbot - Commencement","isPartOf":{"@id":"https:\/\/digitaldocumentation.wustl.edu\/commencement\/#website"},"datePublished":"2025-07-08T19:10:50+00:00","dateModified":"2025-07-08T19:12:36+00:00","breadcrumb":{"@id":"https:\/\/digitaldocumentation.wustl.edu\/commencement\/troubleshooting\/updating-the-chatbot\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/digitaldocumentation.wustl.edu\/commencement\/troubleshooting\/updating-the-chatbot\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/digitaldocumentation.wustl.edu\/commencement\/troubleshooting\/updating-the-chatbot\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/digitaldocumentation.wustl.edu\/commencement\/"},{"@type":"ListItem","position":2,"name":"Troubleshooting","item":"https:\/\/digitaldocumentation.wustl.edu\/commencement\/troubleshooting\/"},{"@type":"ListItem","position":3,"name":"Updating the chatbot"}]},{"@type":"WebSite","@id":"https:\/\/digitaldocumentation.wustl.edu\/commencement\/#website","url":"https:\/\/digitaldocumentation.wustl.edu\/commencement\/","name":"Commencement","description":"Just another digitaldocumentation.wustl.edu Sites site","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/digitaldocumentation.wustl.edu\/commencement\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"}]}},"distributor_meta":false,"distributor_terms":false,"distributor_media":false,"distributor_original_site_name":"Commencement","distributor_original_site_url":"https:\/\/digitaldocumentation.wustl.edu\/commencement","push-errors":false,"_links":{"self":[{"href":"https:\/\/digitaldocumentation.wustl.edu\/commencement\/wp-json\/wp\/v2\/pages\/1415"}],"collection":[{"href":"https:\/\/digitaldocumentation.wustl.edu\/commencement\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/digitaldocumentation.wustl.edu\/commencement\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/digitaldocumentation.wustl.edu\/commencement\/wp-json\/wp\/v2\/users\/29"}],"replies":[{"embeddable":true,"href":"https:\/\/digitaldocumentation.wustl.edu\/commencement\/wp-json\/wp\/v2\/comments?post=1415"}],"version-history":[{"count":2,"href":"https:\/\/digitaldocumentation.wustl.edu\/commencement\/wp-json\/wp\/v2\/pages\/1415\/revisions"}],"predecessor-version":[{"id":1421,"href":"https:\/\/digitaldocumentation.wustl.edu\/commencement\/wp-json\/wp\/v2\/pages\/1415\/revisions\/1421"}],"up":[{"embeddable":true,"href":"https:\/\/digitaldocumentation.wustl.edu\/commencement\/wp-json\/wp\/v2\/pages\/108"}],"wp:attachment":[{"href":"https:\/\/digitaldocumentation.wustl.edu\/commencement\/wp-json\/wp\/v2\/media?parent=1415"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}