{"id":1960942,"date":"2024-07-23T00:50:02","date_gmt":"2024-07-23T04:50:02","guid":{"rendered":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/?p=1960942"},"modified":"2024-08-20T11:14:48","modified_gmt":"2024-08-20T15:14:48","slug":"problems-with-minification-legacy","status":"publish","type":"post","link":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/problems-with-minification-legacy\/","title":{"rendered":"The Calendar Doesn&#8217;t Look Right"},"content":{"rendered":"\n<p>Some WordPress plugins or web hosts minify your scripts and stylesheets, which can sometimes be the cause of front-end loading or display&nbsp;errors for&nbsp;The Events Calendar.<\/p>\n\n<p>One of the most common reasons for errors when using caching or minification plugins (a single plugin or service will offer both caching and minifying features) is that the <em>order<\/em> of scripts and stylesheets loaded on a page is altered in a problematic way.<\/p>\n\n<p>If you have a caching or minification plugin enabled and notice the&nbsp;front-end of your site works once you disable minification, <strong>then we&#8217;d recommend you <em>not<\/em> minify<\/strong>.<\/p>\n\n<p>If you want or need to minify and the plugin or web hosting service allows you to ignore&nbsp;scripts and stylesheets from specific sources, then you&nbsp;should <em>set it to ignore assets from The Events Calendar and its add-on plugins.<\/em><\/p>\n\n<h2 class=\"wp-block-heading\" id=\"plugin-folders\">Plugin folders<\/h2>\n\n<p>Here is a list of the asset folders of each of our plugins that should be ignored.<br>If you&#8217;re using <a href=\"https:\/\/staging.theeventscalendar.com\/knowledgebase\/k\/using-the-events-calendar-with-wp-rocket\/\" target=\"_blank\" rel=\"noreferrer noopener\">WP Rocket<\/a>, you can use these values in <a href=\"#File_Optimization\" target=\"_blank\" rel=\"noreferrer noopener\"><em>File Optimization<\/em><\/a> and <a href=\"#CDN\" target=\"_blank\" rel=\"noreferrer noopener\"><em>CDN<\/em><\/a> tabs from WP Rocket settings.<\/p>\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Plugin Name<\/th><th>Assets Folder<\/th><\/tr><\/thead><tbody><tr><td>The Events Calendar<\/td><td><code>\/wp-content\/plugins\/the-events-calendar\/(.*).css<\/code><br><code>\/wp-content\/plugins\/the-events-calendar\/(.*).js<\/code><\/td><\/tr><tr><td>Events Calendar Pro<\/td><td><code>\/wp-content\/plugins\/events-calendar-pro\/(.*).css<\/code><br><code>\/wp-content\/plugins\/events-calendar-pro\/(.*).js<\/code><\/td><\/tr><tr><td>Events Tickets<\/td><td><code>\/wp-content\/plugins\/event-tickets\/(.*).css<\/code><br><code>\/wp-content\/plugins\/event-tickets\/(.*).js<\/code><\/td><\/tr><tr><td>Events Tickets Plus<\/td><td><code>\/wp-content\/plugins\/event-tickets-plus\/(.*).css<\/code><br><code>\/wp-content\/plugins\/event-tickets-plus\/(.*).js<\/code><\/td><\/tr><tr><td>Filter Bar<\/td><td><code>\/wp-content\/plugins\/the-events-calendar-filterbar\/(.*).css<\/code><br><code>\/wp-content\/plugins\/the-events-calendar-filterbar\/(.*).js<\/code><\/td><\/tr><tr><td>Virtual Events<\/td><td><code>\/wp-content\/plugins\/events-virtual\/(.*).css<\/code><br><code>\/wp-content\/plugins\/events-virtual\/(.*).js<\/code><\/td><\/tr><tr><td>Community Events<\/td><td><code>\/wp-content\/plugins\/the-events-calendar-community-events\/(.*).css<\/code><br><code>\/wp-content\/plugins\/the-events-calendar-community-events\/(.*).js<\/code><\/td><\/tr><tr><td>Community Tickets<\/td><td><code>\/wp-content\/plugins\/the-events-calendar-community-events-tickets\/(.*).css<\/code><br><code>\/wp-content\/plugins\/the-events-calendar-community-events-tickets\/(.*).js<\/code><\/td><\/tr><tr><td>Eventbrite Tickets<\/td><td><code>\/wp-content\/plugins\/the-events-calendar-eventbrite-tickets\/(.*).css<\/code><br><code>\/wp-content\/plugins\/the-events-calendar-eventbrite-tickets\/(.*).js<\/code><\/td><\/tr><\/tbody><\/table><\/figure>\n\n<h3 class=\"wp-block-heading\" id=\"performance\">But what about performance?<\/h3>\n\n<p>The Events Calendar and all of its add-ons, by default, load minified JavaScript, minified CSS, and optimized images.<\/p>\n\n<p>Even if you ignore The Events Calendar&#8217;s assets in your minification setup, our plugins&#8217; optimized assets will load in a high-performance manner.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Some WordPress plugins or web hosts minify your scripts and stylesheets, which can sometimes be the cause of front-end loading or display&nbsp;errors for&nbsp;The Events Calendar. One of the most common reasons for errors when using caching or minification plugins (a single plugin or service will offer both caching and minifying features) is that the order&#8230;<\/p>\n","protected":false},"author":77,"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":true,"footnotes":""},"categories":[93],"tags":[23,25],"stellar-product-taxonomy":[161],"class_list":["post-1960942","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-errors","tag-css","tag-customizations","stellar-product-taxonomy-the-events-calendar"],"acf":[],"taxonomy_info":{"category":[{"value":93,"label":"Troubleshooting"}],"post_tag":[{"value":23,"label":"CSS"},{"value":25,"label":"Customizations"}],"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":"TEC Staff","author_link":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/author\/tec_staff\/"},"comment_info":0,"category_info":[{"term_id":93,"name":"Troubleshooting","slug":"errors","term_group":0,"term_taxonomy_id":93,"taxonomy":"category","description":"","parent":0,"count":67,"filter":"raw","term_order":"0","cat_ID":93,"category_count":67,"category_description":"","cat_name":"Troubleshooting","category_nicename":"errors","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\/1960942","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\/77"}],"replies":[{"embeddable":true,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/comments?post=1960942"}],"version-history":[{"count":5,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/1960942\/revisions"}],"predecessor-version":[{"id":1962552,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/1960942\/revisions\/1962552"}],"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=1960942"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/categories?post=1960942"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/tags?post=1960942"},{"taxonomy":"stellar-product-taxonomy","embeddable":true,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/stellar-product-taxonomy?post=1960942"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}