{"id":1957568,"date":"2022-01-25T04:47:28","date_gmt":"2022-01-25T12:47:28","guid":{"rendered":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/?post_type=post&#038;p=1951780"},"modified":"2023-10-27T09:21:16","modified_gmt":"2023-10-27T13:21:16","slug":"prepare-your-site-for-the-removal-of-v1-legacy-views-2","status":"publish","type":"post","link":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/prepare-your-site-for-the-removal-of-v1-legacy-views-2\/","title":{"rendered":"Prepare your Site for the Removal of V1 Legacy Views- Update"},"content":{"rendered":"\n<p><strong>If you are still using the legacy calendar views when you update to The Events Calendar 6.0, your site will automatically switch to our upgraded views. <\/strong>This article walks you through how to prepare and test your site to make the transition as smooth as possible.&nbsp;<\/p>\n\n\n\n<p><strong>These steps only apply to sites that are still using a 5.x version of The Events Calendar.<\/strong><\/p>\n\n\n\n<p><a href=\"https:\/\/staging.theeventscalendar.com\/knowledgebase\/k\/v1-deprecation-faqs\/\" target=\"_blank\" rel=\"noreferrer noopener\">Read more about the legacy views removal<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-how-do-i-know-if-my-site-is-on-v1-or-v2\">How do I know if my site is on V1 or V2?<\/h2>\n\n\n\n<p>Open the WordPress dashboard and go to <strong>Events &gt; Settings &gt; Display<\/strong>. The fourth option on the page is <em>Use updated calendar designs. <\/em>If that setting is enabled (checked), you are using the V2 views, and this update will not impact your site. If that setting is not enabled (unchecked) then you are still on the legacy views and should follow this tutorial to prepare your site.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh4.googleusercontent.com\/tiT1IkQAsbO4cne_OzQ1RNxobEcJhSNDBuJEP07y4AcolrDnufqG2ZHrSnX7tj2cgrgVsdWOS18xSXqNzincUO0gD3A5lVakJMnyUyziH9mIpSbtsRdi-elEieNflUY98pNtk1UH\" alt=\"Events Settings &gt; Display to check the Use updated calendar designs option\"\/><\/figure>\n\n\n\n<p>If you or a developer have customized your site, it\u2019s also possible that you have V2 de-activated manually via a <a href=\"https:\/\/docs.theeventscalendar.com\/reference\/functions\/tribe_events_views_v2_is_enabled\/\" target=\"_blank\" rel=\"noreferrer noopener\">WordPress function<\/a>\u2013even if the <em>Use updated calendar designs <\/em>setting is enabled. If you\u2019re not sure, go to your calendar. If you see a <a href=\"https:\/\/d.pr\/i\/2YIYoh\" target=\"_blank\" rel=\"noreferrer noopener\"><em>Today <\/em>button<\/a>, your site is running V2, and you\u2019re good to go.<\/p>\n\n\n\n<figure class=\"wp-block-image is-resized\"><img decoding=\"async\" src=\"https:\/\/lh5.googleusercontent.com\/68Qpb5XHfy_n6DZGew8vK4SPhYR5CDB9RGSLH57urAKQUthH0Lb5SBoLUFTy0NKbgcqAQIsC7KlKcjIb8UYwPVatI3oQXgS6BwvJ3YGA4kuoQ0mXBPrm8n-CzgMBHLboDlP7J1Lc\" alt=\"Today button to denote \" style=\"width:648px;height:100px\"\/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-step-one-update-on-a-staging-site\">Step One: Update on a staging site<\/h2>\n\n\n\n<p>If you do not yet have a staging site to test with, you\u2019ll first need to create one. We\u2019ve got a separate article <a href=\"https:\/\/staging.theeventscalendar.com\/knowledgebase\/k\/creating-and-using-a-wordpress-staging-site\/#How_is_a_staging_site_set_up\" target=\"_blank\" rel=\"noreferrer noopener\">here<\/a> all about the importance of staging sites and how to make one. We\u2019d recommend that you also <a href=\"https:\/\/torquemag.io\/2020\/12\/enable-wordpress-debug-mode\/\" target=\"_blank\" rel=\"noreferrer noopener\">activate WP Debug<\/a> on your staging site. <meta charset=\"utf-8\">Make sure your staging site is set up properly and current with your live site so that your testing is accurate.<meta charset=\"utf-8\"><\/p>\n\n\n\n<p>Next, update The Events Calendar to the latest version. If you have Events Calendar Pro, Event Tickets, or any of our other plugins, you\u2019ll want to update those as well.<\/p>\n\n\n\n<p>Once you update, you\u2019ll be prompted to check out your calendar views and make sure you like how things look. Doing that review on a staging site means you can take your time and address any issues before they impact your live site.<\/p>\n\n\n\n<p><strong>Note: <\/strong>You\u2019ll also be prompted to migrate your events to the new event data storage system, which is a major change in The Events Calendar 6.0. <strong>For the purposes of testing views,<\/strong> <strong>you can ignore this. <\/strong>Once you\u2019ve completed the views testing, you can go through the migration on your test site as an additional check before updating and migrating on your live site. <a href=\"https:\/\/evnt.is\/1b79\" target=\"_blank\" rel=\"noreferrer noopener\">Read more about the migration<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-step-two-troubleshoot-any-issues\">Step Two: Troubleshoot any issues<\/h2>\n\n\n\n<p>Now you are ready to start <a href=\"https:\/\/staging.theeventscalendar.com\/knowledgebase\/k\/testing-for-conflicts\/\" target=\"_blank\" rel=\"noreferrer noopener\">testing and troubleshooting<\/a> any issues you see on your staging site. The idea is to find any errors, broken functionality, or styling issues now so that you can mitigate them before they can impact your live site.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Errors &amp; Broken Functionality<\/h3>\n\n\n\n<p>If your staging site is showing errors or not working as you\u2019d expect, you can systematically review your extensions, plugins, and customizations to determine what\u2019s causing the conflict. Start by deactivating any other plugins on your site, one at a time. After each one, check again for the error or problem you saw. If the issue disappears, you can then confirm that the last plugin you deactivated was causing a conflict.<\/p>\n\n\n\n<p>If you find an issue with one of our extensions, it\u2019s possible you just need a new version\u2013many of our extensions have been updated recently to work with the V2 system. Unlike regular plugins, new versions of the extensions don\u2019t appear in your WordPress admin, so you\u2019ll need to check the <a href=\"https:\/\/theeventscalendar.com\/extensions\/\" target=\"_blank\" rel=\"noreferrer noopener\">extension library<\/a> and see if an update is available. If the issue is with a third-party plugin, you can reach out to the developer and explain what\u2019s happening so that they can add compatibility with the updated V2 views.<\/p>\n\n\n\n<p>You can follow a similar process to review any customizations you\u2019ve made to your site that could be causing errors. Remove your customizations one at a time and use that to narrow down which is causing warnings or other issues when used with V2. If you run into an issue with a snippet provided by The Events Calendar team, check out <a href=\"https:\/\/staging.theeventscalendar.com\/knowledgebase\/\" target=\"_blank\" rel=\"noreferrer noopener\">our knowledgebase<\/a>. As with the extensions, we\u2019ve updated many of our knowledgebase articles to include solutions for the V2 views. If the culprit is one of your own modifications, the knowledgebase is also a great place to start looking for a way to adjust it to work within the V2 views.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Styling Issues<\/h3>\n\n\n\n<p>The V2 views have a new modern design and you\u2019ll see the difference right away on the front end. Depending on your theme and any customizations, you may also see some unexpected or unwanted changes.<\/p>\n\n\n\n<p>Just as you did with plugins, one of the best troubleshooting steps is to look for a theme conflict. Try switching to a WordPress default theme (e.g. Twenty Twenty or Twenty Twenty-One) and see if the issue(s) you\u2019re experiencing persist. If the issue is resolved, you know that it has to do with a theme conflict. We recommend reaching out to the theme developer\u2013it\u2019s possible they need to make some changes to be compatible with the updated views.<\/p>\n\n\n\n<p>If you had made customizations to the legacy view templates, those customizations will not impact the site once it\u2019s running V2. The new system has a completely different set of templates. However, the new templates are designed specifically to make customizing easier. We\u2019ve got a whole set of articles to help you get started with customizing the new views. Here are a few links to get you started:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/staging.theeventscalendar.com\/knowledgebase\/k\/customizing-css\/\" target=\"_blank\" rel=\"noreferrer noopener\">Customizing CSS<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/staging.theeventscalendar.com\/knowledgebase\/k\/customizing-template-files-2\/\" target=\"_blank\" rel=\"noreferrer noopener\">How to Customize Template Files<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/staging.theeventscalendar.com\/knowledgebase\/k\/custom-templates-for-the-updated-calendar-views\/\" target=\"_blank\" rel=\"noreferrer noopener\">Custom templates for the updated calendar views<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/staging.theeventscalendar.com\/knowledgebase\/k\/using-template-filters-and-actions\/\" target=\"_blank\" rel=\"noreferrer noopener\">Using template Filters &amp; Actions<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/staging.theeventscalendar.com\/knowledgebase\/k\/calendar-template-files-v2\/\" target=\"_blank\" rel=\"noreferrer noopener\">List of The Events Calendar template files<\/a><\/li>\n<\/ul>\n\n\n\n<p>One of the new features available for sites running the updated views is a whole new set of options in the <a href=\"https:\/\/staging.theeventscalendar.com\/knowledgebase\/k\/wordpress-customizer-2\/\" target=\"_blank\" rel=\"noreferrer noopener\">WordPress Customizer<\/a>. Any settings you had in the Customizer for V1 will <strong>no longer apply<\/strong>, but you can open the Customizer to reset those and check out the new options available.<\/p>\n\n\n\n<div style=\"height:49px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\" id=\"h-\">\n<p><strong>Need help?<\/strong> Premium users can&nbsp;<a href=\"https:\/\/support.theeventscalendar.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">open a ticket with our support team<\/a>&nbsp;to assist in upgrading from legacy to V2 views. However, please note that we are limited to providing resources and helping point you in the right direction if you have extensive customizations. You will need to work through any necessary changes yourself or&nbsp;<a href=\"https:\/\/staging.theeventscalendar.com\/knowledgebase\/k\/custom-development\/\" target=\"_blank\" rel=\"noreferrer noopener\">hire an outside developer<\/a>&nbsp;to assist you.<\/p>\n<\/blockquote>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-step-three-prepare-your-live-site\">Step Three: Prepare your live site<\/h2>\n\n\n\n<p>Once you\u2019ve completed your staging site testing, you are ready to prepare your live site for the upcoming 6.0 release.<\/p>\n\n\n\n<p><strong>If you went through the testing steps and didn\u2019t encounter any issues, congratulations!<\/strong> You can go ahead and move your live site to the upgraded views by going to <strong>Events &gt; Settings &gt; Display <\/strong>and enabling the <em>Use updated calendar designs option<\/em>. You can also choose to take no action on your live site, and it will automatically change to the upgraded views when you update to The Events Calendar 6.0.<\/p>\n\n\n\n<p><strong>If you tested on your staging site and ran into some errors or issues, the next step is to fix them. <\/strong>As described above, this may include updating plugins and customizations. You can make the changes on your staging site until you\u2019re happy with the results. Then you can duplicate those same changes on your live site and switch to the upgraded views with confidence.<\/p>\n\n\n\n<p><strong>If you choose not to upgrade your views and do not plan to in the future, you need to make sure to configure your live site to prevent updates. <\/strong>To avoid being automatically upgraded to the views when 6.0 is released, you\u2019ll need to essentially freeze your site in its current state. Please keep in mind that <a href=\"https:\/\/staging.theeventscalendar.com\/knowledgebase\/k\/v1-deprecation-faqs\/#Do_I_have_to_switch_to_the_V2_views\" target=\"_blank\" rel=\"noreferrer noopener\">we do <em>not <\/em>recommend doing this<\/a>.<\/p>\n\n\n\n<p>Be sure to turn off all automatic updates on your site\u2019s Plugins admin page. If you do not take this step, The Events Calendar will automatically update when 6.0 comes out and your views will be upgraded. To avoid future incompatibilities, you\u2019ll also need to avoid updating third-party plugins, your theme, and WordPress itself.<\/p>\n\n\n\n<p>If you accidentally update to 6.0 and need to switch back, you can <a href=\"https:\/\/staging.theeventscalendar.com\/knowledgebase\/k\/accessing-older-plugin-versions\/\" target=\"_blank\" rel=\"noreferrer noopener\">downgrade your plugins<\/a>.&nbsp;<\/p>\n\n\n\n<p>To disable the notices for legacy views V1 deprecation use the code below.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: php; title: ; notranslate\" title=\"\">\n&lt;?php \nadd_filter( &#039;tec_events_views_v1_should_display_deprecated_notice&#039;, &#039;__return_false&#039; );\n<\/pre><\/div>\n\n\n<div class=\"responsive-iframe\"><iframe loading=\"lazy\" width=\"560\" height=\"315\" src=\"https:\/\/www.youtube.com\/embed\/mlU-WBwYLrg\" title=\"YouTube video player\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen=\"\"><\/iframe><\/div>\n","protected":false},"excerpt":{"rendered":"<p>If you are still using the legacy calendar views when you update to The Events Calendar 6.0, your site will automatically switch to our upgraded views. This article walks you through how to prepare and test your site to make the transition as smooth as possible.&nbsp; These steps only apply to sites that are still&#8230;<\/p>\n","protected":false},"author":3,"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":[40],"tags":[],"stellar-product-taxonomy":[161],"class_list":["post-1957568","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-support-resources","stellar-product-taxonomy-the-events-calendar"],"acf":[],"taxonomy_info":{"category":[{"value":40,"label":"Get Help"}],"stellar-product-taxonomy":[{"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":"Jaime Marchwinski","author_link":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/author\/jaimetri-be\/"},"comment_info":0,"category_info":[{"term_id":40,"name":"Get Help","slug":"support-resources","term_group":0,"term_taxonomy_id":40,"taxonomy":"category","description":"","parent":0,"count":28,"filter":"raw","term_order":"0","cat_ID":40,"category_count":28,"category_description":"","cat_name":"Get Help","category_nicename":"support-resources","category_parent":0}],"tag_info":false,"_links":{"self":[{"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/1957568","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\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/comments?post=1957568"}],"version-history":[{"count":2,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/1957568\/revisions"}],"predecessor-version":[{"id":1958307,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/1957568\/revisions\/1958307"}],"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=1957568"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/categories?post=1957568"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/tags?post=1957568"},{"taxonomy":"stellar-product-taxonomy","embeddable":true,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/stellar-product-taxonomy?post=1957568"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}