{"id":18841,"date":"2012-07-01T15:05:45","date_gmt":"2012-07-01T15:05:45","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/the-events-calendar-category-colors\/"},"modified":"2025-09-16T05:07:30","modified_gmt":"2025-09-16T05:07:30","slug":"the-events-calendar-category-colors","status":"publish","type":"plugin","link":"https:\/\/cn.wordpress.org\/plugins\/the-events-calendar-category-colors\/","author":16205394,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"7.4.2","stable_tag":"7.4.2","tested":"6.7.5","requires":"6.3","requires_php":"7.4","requires_plugins":null,"header_name":"The Events Calendar: Category Colors","header_author":"Andy Fragen, Barry Hughes","header_description":"","assets_banners_color":"52b1d1","last_updated":"2025-09-16 05:07:30","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/github.com\/the-events-calendar\/the-events-calendar-category-colors","header_author_uri":"http:\/\/thefragens.com","rating":5,"author_block_rating":4.6428571428571,"active_installs":5000,"downloads":446468,"num_ratings":60,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","faq","changelog"],"tags":{"1.6.3":{"tag":"1.6.3","author":"afragen","date":"2013-01-25 02:28:33"},"4.0.0":{"tag":"4.0.0","author":"afragen","date":"2015-03-07 04:20:57"},"4.0.1":{"tag":"4.0.1","author":"afragen","date":"2015-03-20 01:41:51"},"4.0.2":{"tag":"4.0.2","author":"afragen","date":"2015-03-22 16:29:32"},"4.0.3":{"tag":"4.0.3","author":"afragen","date":"2015-03-23 21:17:33"},"4.1.0":{"tag":"4.1.0","author":"afragen","date":"2015-04-04 23:50:42"},"4.2.0":{"tag":"4.2.0","author":"afragen","date":"2015-04-06 00:16:19"},"4.3.0":{"tag":"4.3.0","author":"afragen","date":"2015-06-17 00:50:33"},"4.3.1":{"tag":"4.3.1","author":"afragen","date":"2015-06-17 02:27:08"},"4.3.2":{"tag":"4.3.2","author":"afragen","date":"2015-07-06 00:28:29"},"4.3.3":{"tag":"4.3.3","author":"afragen","date":"2015-07-06 01:05:25"},"4.3.4":{"tag":"4.3.4","author":"afragen","date":"2015-07-23 20:13:28"},"4.3.5":{"tag":"4.3.5","author":"afragen","date":"2015-08-10 02:24:27"},"4.4.0":{"tag":"4.4.0","author":"afragen","date":"2016-07-10 14:14:03"},"4.4.1":{"tag":"4.4.1","author":"afragen","date":"2016-07-10 14:14:03"},"4.4.2":{"tag":"4.4.2","author":"afragen","date":"2016-07-10 14:14:03"},"4.4.3":{"tag":"4.4.3","author":"afragen","date":"2016-07-10 14:14:03"},"4.4.4":{"tag":"4.4.4","author":"afragen","date":"2016-07-10 14:14:03"},"4.4.5":{"tag":"4.4.5","author":"afragen","date":"2016-07-10 14:14:03"},"4.5.0":{"tag":"4.5.0","author":"afragen","date":"2016-07-19 18:25:56"},"4.5.1":{"tag":"4.5.1","author":"afragen","date":"2016-09-01 19:53:12"},"4.6.0":{"tag":"4.6.0","author":"afragen","date":"2017-01-01 22:56:06"},"4.6.1":{"tag":"4.6.1","author":"afragen","date":"2017-01-20 01:39:08"},"4.6.10":{"tag":"4.6.10","author":"afragen","date":"2017-11-23 22:18:28"},"4.6.11":{"tag":"4.6.11","author":"afragen","date":"2017-12-18 02:12:12"},"4.6.2":{"tag":"4.6.2","author":"afragen","date":"2017-01-21 02:54:55"},"4.6.3":{"tag":"4.6.3","author":"afragen","date":"2017-02-19 15:58:22"},"4.6.4":{"tag":"4.6.4","author":"afragen","date":"2017-02-19 19:15:34"},"4.6.5":{"tag":"4.6.5","author":"afragen","date":"2017-04-20 15:55:58"},"4.6.6":{"tag":"4.6.6","author":"afragen","date":"2017-04-30 19:37:32"},"4.6.7":{"tag":"4.6.7","author":"afragen","date":"2017-07-07 00:01:23"},"4.6.8":{"tag":"4.6.8","author":"afragen","date":"2017-07-29 01:36:47"},"4.6.9":{"tag":"4.6.9","author":"afragen","date":"2017-11-19 21:08:51"},"4.7.0":{"tag":"4.7.0","author":"afragen","date":"2018-03-10 23:30:27"},"5.0.0":{"tag":"5.0.0","author":"afragen","date":"2018-03-20 01:40:09"},"5.0.1":{"tag":"5.0.1","author":"afragen","date":"2018-04-07 01:39:56"},"5.1.0":{"tag":"5.1.0","author":"afragen","date":"2018-07-21 17:26:53"},"5.2.0":{"tag":"5.2.0","author":"afragen","date":"2018-07-28 19:33:17"},"5.2.1":{"tag":"5.2.1","author":"afragen","date":"2018-07-28 19:46:41"},"5.2.2":{"tag":"5.2.2","author":"afragen","date":"2018-07-28 21:37:31"},"5.3.0":{"tag":"5.3.0","author":"afragen","date":"2018-08-03 23:15:19"},"6.0.0":{"tag":"6.0.0","author":"afragen","date":"2018-10-20 23:32:12"},"6.1.0":{"tag":"6.1.0","author":"afragen","date":"2018-11-25 23:51:37"},"6.1.1":{"tag":"6.1.1","author":"afragen","date":"2019-05-09 21:09:18"},"6.1.2":{"tag":"6.1.2","author":"afragen","date":"2019-06-25 20:34:15"},"6.2.0":{"tag":"6.2.0","author":"afragen","date":"2019-08-15 17:01:45"},"6.3.0":{"tag":"6.3.0","author":"afragen","date":"2019-10-04 17:29:20"},"6.3.1":{"tag":"6.3.1","author":"afragen","date":"2019-10-24 21:07:37"},"6.3.2":{"tag":"6.3.2","author":"afragen","date":"2019-10-30 19:49:38"},"6.4.0":{"tag":"6.4.0","author":"afragen","date":"2020-01-28 05:26:08"},"6.4.1":{"tag":"6.4.1","author":"afragen","date":"2020-01-28 15:43:44"},"6.4.10":{"tag":"6.4.10","author":"afragen","date":"2020-11-26 18:06:34"},"6.4.11":{"tag":"6.4.11","author":"afragen","date":"2020-12-05 16:15:45"},"6.4.12":{"tag":"6.4.12","author":"afragen","date":"2021-01-07 20:25:54"},"6.4.2":{"tag":"6.4.2","author":"afragen","date":"2020-01-28 16:07:28"},"6.4.3":{"tag":"6.4.3","author":"afragen","date":"2020-01-28 23:44:35"},"6.4.4":{"tag":"6.4.4","author":"afragen","date":"2020-01-30 17:25:50"},"6.4.5":{"tag":"6.4.5","author":"afragen","date":"2020-01-31 19:40:21"},"6.4.6":{"tag":"6.4.6","author":"afragen","date":"2020-02-03 15:48:23"},"6.4.7":{"tag":"6.4.7","author":"afragen","date":"2020-02-06 18:12:01"},"6.4.8":{"tag":"6.4.8","author":"afragen","date":"2020-02-18 00:15:13"},"6.4.9":{"tag":"6.4.9","author":"afragen","date":"2020-02-28 18:52:31"},"6.5.0":{"tag":"6.5.0","author":"afragen","date":"2021-05-16 15:30:48"},"6.6.0":{"tag":"6.6.0","author":"afragen","date":"2021-07-07 19:42:54"},"6.7.0":{"tag":"6.7.0","author":"afragen","date":"2021-08-14 19:42:46"},"6.7.1":{"tag":"6.7.1","author":"afragen","date":"2021-08-20 17:31:25"},"7.0.0":{"tag":"7.0.0","author":"afragen","date":"2022-05-04 17:29:26"},"7.0.1":{"tag":"7.0.1","author":"afragen","date":"2022-05-05 02:01:10"},"7.0.2":{"tag":"7.0.2","author":"afragen","date":"2022-05-06 21:41:12"},"7.0.3":{"tag":"7.0.3","author":"afragen","date":"2022-05-13 23:50:14"},"7.0.4":{"tag":"7.0.4","author":"afragen","date":"2022-05-16 19:26:19"},"7.0.5":{"tag":"7.0.5","author":"afragen","date":"2022-05-17 15:55:23"},"7.0.6":{"tag":"7.0.6","author":"afragen","date":"2022-05-20 15:55:50"},"7.1.0":{"tag":"7.1.0","author":"afragen","date":"2022-10-12 16:23:41"},"7.1.1":{"tag":"7.1.1","author":"afragen","date":"2022-10-17 02:51:29"},"7.1.2":{"tag":"7.1.2","author":"afragen","date":"2023-01-27 18:26:01"},"7.2.0":{"tag":"7.2.0","author":"afragen","date":"2023-03-03 16:46:44"},"7.3.0":{"tag":"7.3.0","author":"afragen","date":"2023-07-21 19:12:46"},"7.3.1":{"tag":"7.3.1","author":"bordoni","date":"2024-07-11 21:52:09"},"7.3.2":{"tag":"7.3.2","author":"bordoni","date":"2024-08-22 19:02:34"},"7.4.0":{"tag":"7.4.0","author":"bordoni","date":"2024-11-15 03:17:20"},"7.4.1":{"tag":"7.4.1","author":"theeventscalendar","date":"2025-02-06 06:01:52"},"7.4.2":{"tag":"7.4.2","author":"bordoni","date":"2025-09-16 05:07:30"}},"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":2,"5":58},"assets_icons":[],"assets_banners":{"banner-772x250.png":{"filename":"banner-772x250.png","revision":2560226,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.6.3","4.0.0","4.0.1","4.0.2","4.0.3","4.1.0","4.2.0","4.3.0","4.3.1","4.3.2","4.3.3","4.3.4","4.3.5","4.4.0","4.4.1","4.4.2","4.4.3","4.4.4","4.4.5","4.5.0","4.5.1","4.6.0","4.6.1","4.6.10","4.6.11","4.6.2","4.6.3","4.6.4","4.6.5","4.6.6","4.6.7","4.6.8","4.6.9","4.7.0","5.0.0","5.0.1","5.1.0","5.2.0","5.2.1","5.2.2","5.3.0","6.0.0","6.1.0","6.1.1","6.1.2","6.2.0","6.3.0","6.3.1","6.3.2","6.4.0","6.4.1","6.4.10","6.4.11","6.4.12","6.4.2","6.4.3","6.4.4","6.4.5","6.4.6","6.4.7","6.4.8","6.4.9","6.5.0","6.6.0","6.7.0","6.7.1","7.0.0","7.0.1","7.0.2","7.0.3","7.0.4","7.0.5","7.0.6","7.1.0","7.1.1","7.1.2","7.2.0","7.3.0","7.3.1","7.3.2","7.4.0","7.4.1","7.4.2"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":2560226,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":2560226,"resolution":"2","location":"assets","locale":""},"screenshot-3.png":{"filename":"screenshot-3.png","revision":2560226,"resolution":"3","location":"assets","locale":""}},"screenshots":{"1":"The Events Calendar: Category Colors Settings tab","2":"The Events Calendar: Category Colors in action","3":"The Events Calendar: Category Colors with Legend Superpowers in action"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[416,89,1257,1486],"plugin_category":[40],"plugin_contributors":[78960,77684,194806],"plugin_business_model":[],"class_list":["post-18841","plugin","type-plugin","status-publish","hentry","plugin_tags-calendar","plugin_tags-category","plugin_tags-color","plugin_tags-events","plugin_category-calendar-and-events","plugin_contributors-afragen","plugin_contributors-barryhughes-1","plugin_contributors-theeventscalendar","plugin_committers-afragen","plugin_committers-bordoni","plugin_committers-stellarwp","plugin_committers-theeventscalendar","plugin_support_reps-abzlevelup","plugin_support_reps-chikaibeneme","plugin_support_reps-cswebd3v","plugin_support_reps-d0153","plugin_support_reps-deblynprado","plugin_support_reps-frankremmy","plugin_support_reps-iammarta","plugin_support_reps-iirvin","plugin_support_reps-jentheo","plugin_support_reps-jescandoit","plugin_support_reps-masoodak","plugin_support_reps-sarahmunoz","plugin_support_reps-sdokus","plugin_support_reps-tristan083","plugin_support_reps-vicskf"],"banners":{"banner":"https:\/\/ps.w.org\/the-events-calendar-category-colors\/assets\/banner-772x250.png?rev=2560226","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/the-events-calendar-category-colors_52b1d1.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/the-events-calendar-category-colors\/assets\/screenshot-1.png?rev=2560226","caption":"The Events Calendar: Category Colors Settings tab"},{"src":"https:\/\/ps.w.org\/the-events-calendar-category-colors\/assets\/screenshot-2.png?rev=2560226","caption":"The Events Calendar: Category Colors in action"},{"src":"https:\/\/ps.w.org\/the-events-calendar-category-colors\/assets\/screenshot-3.png?rev=2560226","caption":"The Events Calendar: Category Colors with Legend Superpowers in action"}],"raw_content":"<!--section=description-->\n<p>Add background colors to event categories displayed in the event views of The Events Calendar. This is inspired by the post <em>Coloring Your Category Events<\/em>.<\/p>\n\n<p>Settings for The Events Calendar: Category Colors plugin are located in their own tab on The Events Calendar Settings page.<\/p>\n\n<p>To force a refresh of your CSS, add <code>?refresh_css<\/code> to the end of your events URL, or re-save the Settings.<\/p>\n\n<h3>Attribution<\/h3>\n\n<p>Thanks to jonahcoyote for some early help and direction.<\/p>\n\n<p>Big thanks to Barry Hughes (WebsiteBakery) for refactoring code and Legend Superpowers.<\/p>\n\n<!--section=faq-->\n<dl>\n<dt id='does%20the%20plugin%20require%20the%20events%20calendar%20plugin%3F'><h3>Does the plugin require The Events Calendar plugin?<\/h3><\/dt>\n<dd><p>Yes. <a href=\"http:\/\/wordpress.org\/plugins\/the-events-calendar\/\">The Events Calendar plugin<\/a> is written by StellarWP. It requires at least The Events Calendar v5.0.<\/p><\/dd>\n<dt id='what%20if%20i%20use%20a%20version%20of%20the%20events%20calendar%202.x%3F'><h3>What if I use a version of The Events Calendar 2.x?<\/h3><\/dt>\n<dd><p>The last compatible version of this plugin that works with TEC 2.x is <a href=\"http:\/\/downloads.wordpress.org\/plugin\/the-events-calendar-category-colors.1.6.3.zip\">The Events Calendar: Category Colors v1.6.3<\/a>.<\/p><\/dd>\n<dt id='where%20can%20i%20get%20more%20help%3F'><h3>Where can I get more help?<\/h3><\/dt>\n<dd><p>There is more extensive documentation of the plugins features and usage on the <a href=\"https:\/\/github.com\/the-events-calendar\/the-events-calendar-category-colors\/wiki\">The Events Calendar: Category Colors wiki<\/a>.<\/p><\/dd>\n<dt id='found%20a%20security%20vulnerability%3F'><h3>Found a security vulnerability?<\/h3><\/dt>\n<dd><p>Make sure you are reporting in a safe and responsible way. We take security very seriously. If you discover a security issue, please bring it to our attention right away! Below you will find all the methods to report security vulnerabilities:<\/p>\n\n<ul>\n<li><a href=\"https:\/\/patchstack.com\/database\/vdp\/the-events-calendar-category-colors\">Report security bugs through the Patchstack Vulnerability Disclosure Program<\/a><\/li>\n<li>Check our <a href=\"https:\/\/www.liquidweb.com\/policies\/bug-bounty-program\/\">Bug Bounty Program<\/a><\/li>\n<li>Reach out directly to us on <code>security [at] stellarwp.com<\/code>.<\/li>\n<\/ul><\/dd>\n<dt id='where%20can%20i%20report%20bugs%3F'><h3>Where can I report bugs?<\/h3><\/dt>\n<dd><ol>\n<li>Add a new topic on the <a href=\"http:\/\/wordpress.org\/tags\/the-events-calendar-category-colors\">WordPress Support Forum<\/a>.<\/li>\n<li>Add a new issue on the <a href=\"https:\/\/github.com\/the-events-calendar\/the-events-calendar-category-colors\/issues?state=open\">github repo<\/a>.<\/li>\n<\/ol><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>7.4.2 \/ 2025-09-16<\/h4>\n\n<ul>\n<li>Fix - Resolve problems related to loading the plugin with newer versions of The Events Calendar 6.14+<\/li>\n<\/ul>\n\n<h4>7.4.1 \/ 2025-02-06<\/h4>\n\n<ul>\n<li>Fix - Resolve translation issue that can occur with get_plugin_data(). [TEC-5350]<\/li>\n<\/ul>\n\n<h4>7.4.0 \/ 2024-11-14<\/h4>\n\n<ul>\n<li>Fix - Make sure we have fully compatible settings save with the new TEC settings page.<\/li>\n<\/ul>\n\n<h4>7.3.2 \/ 2024-08-20<\/h4>\n\n<ul>\n<li>Fix - Resolve problems when Hide option not hiding categories on the frontend. (props @afragen) [TEC-5139]<\/li>\n<\/ul>\n\n<h4>7.3.1 \/ 2024-07-09<\/h4>\n\n<ul>\n<li>Fix - Resolve problem for PHP 8+, avoid passing pass <code>null<\/code> to string specific functions. (props @afragen) [TECENG-58]<\/li>\n<\/ul>\n\n<h4>7.3.0 \/ 2023-04-29<\/h4>\n\n<ul>\n<li>updates to legend superpowers to maintain selection between time selections<\/li>\n<li>dim\/undim legend superpowers menu items<\/li>\n<li>general code improvement of legend superpowers<\/li>\n<li>yeah Barry \ud83d\ude4c<\/li>\n<\/ul>\n\n<h4>7.2.0 \/ 2023-03-02<\/h4>\n\n<ul>\n<li>update <code>Frontend::show_legend()<\/code> to accommodate multiple calendar views on single page<\/li>\n<\/ul>\n\n<h4>7.1.2 \/ 2023-01-27<\/h4>\n\n<ul>\n<li>TEC converted <code>$view-&gt;get_slug()<\/code> to <code>$view::get_view_slug()<\/code> in https:\/\/github.com\/the-events-calendar\/the-events-calendar\/pull\/4091<\/li>\n<li>add checks for default values being set<\/li>\n<\/ul>\n\n<h4>7.1.1 \/ 2022-10-16<\/h4>\n\n<ul>\n<li>add <code>$comma<\/code> parameter to <code>echo_css()<\/code> to simplify placement of selectors<\/li>\n<\/ul>\n\n<h4>7.1.0 \/ 2022-10-12<\/h4>\n\n<ul>\n<li>rename title to correspond to The Events Calendar standard<\/li>\n<li>restructure CSS additions to not end with comma, added in <code>category.css.php<\/code><\/li>\n<li>fix empty spacer classes to be transparent<\/li>\n<li>add CSS for TEC\/ECP 6.0 feature events<\/li>\n<\/ul>\n\n<h4>7.0.6 \/ 2022-05-20<\/h4>\n\n<ul>\n<li>move all Pro CSS to <code>CSS\\Pro<\/code><\/li>\n<li>fix CSS for all day multiday week view<\/li>\n<li>update hook name for Events Calendar settings to load admin resources<\/li>\n<\/ul>\n\n<h4>7.0.5 \/ 2022-05-17<\/h4>\n\n<ul>\n<li>load Superpowers JS on mobile too<\/li>\n<li>improve Superpowers JS slug selection, use vanilla JS<\/li>\n<\/ul>\n\n<h4>7.0.4 \/ 2022-05-16<\/h4>\n\n<ul>\n<li>update Superpowers JS for jQuery <code>click<\/code> and slug selection<\/li>\n<\/ul>\n\n<h4>7.0.3 \/ 2022-05-13<\/h4>\n\n<ul>\n<li>update past event CSS<\/li>\n<\/ul>\n\n<h4>7.0.2 \/ 2022-05-08<\/h4>\n\n<ul>\n<li>fix PHP Warning<\/li>\n<\/ul>\n\n<h4>7.0.1 \/ 2022-05-04<\/h4>\n\n<ul>\n<li>hotfix, <code>Base_CSS<\/code> not being written, stupid mistake on my part<\/li>\n<\/ul>\n\n<h4>7.0.0 \/ 2022-05-04<\/h4>\n\n<ul>\n<li>rewrite to use <code>wp_add_inline_style()<\/code> for adding CSS, no more file writing<\/li>\n<li>WPCS linting<\/li>\n<li>update requirements, PHP 7.1, WP 5.2<\/li>\n<\/ul>\n\n<h4>6.7.1 \/ 2021-08-20<\/h4>\n\n<ul>\n<li>add some error checking, <a href=\"https:\/\/github.com\/afragen\/the-events-calendar-category-colors\/issues\/132\">#132<\/a><\/li>\n<\/ul>\n\n<h4>6.7.0 \/ 2021-08-14<\/h4>\n\n<ul>\n<li>update JS for jQuery 3.0, thanks @andrasguseo<\/li>\n<li>add Reset button for legend, thanks @andrasguseo<\/li>\n<li>add legend for Summary view, thanks @andrasguseo<\/li>\n<li>update Settings UI to show\/hide options<\/li>\n<li>update for new Summary view in ECP<\/li>\n<li>only use <code>esc_attr_e<\/code> for translating strings<\/li>\n<li>add <code>teccc_legend_terms<\/code> filter<\/li>\n<li>update <code>legend.php<\/code><\/li>\n<\/ul>\n\n<h4>6.6.0 \/ 2021-07-07<\/h4>\n\n<ul>\n<li>add @10up GitHub Actions for WordPress SVN integration<\/li>\n<li><strong>Reset<\/strong> button added to legend in settings, navigate back to main calendar, thanks @andrasguseo<\/li>\n<\/ul>\n\n<h4>6.5.0 \/ 2021-05-16<\/h4>\n\n<ul>\n<li>updated to fix CSS url if running on non-standard port<\/li>\n<li>updated legend superpowers to work with shortcode, thanks @gustavo<\/li>\n<li>add filter <code>teccc_uploads_dir<\/code> to filter the <code>wp-content\/uploads<\/code> path.<\/li>\n<li>added legend views to Settings, thanks @andrasguseo<\/li>\n<\/ul>\n\n<h4>6.4.12 \/ 2021-01-07<\/h4>\n\n<ul>\n<li>fix conflict between widget list and multiday events<\/li>\n<\/ul>\n\n<h4>6.4.11 \/ 2020-12-5<\/h4>\n\n<ul>\n<li>update for widget list <a href=\"https:\/\/github.com\/afragen\/the-events-calendar-category-colors\/issues\/119\">#119<\/a><\/li>\n<\/ul>\n\n<h4>6.4.10 \/ 2020-08-01<\/h4>\n\n<ul>\n<li>silence <code>unlink()<\/code><\/li>\n<\/ul>\n\n<h4>6.4.9 \/ 2020-02-28<\/h4>\n\n<ul>\n<li>updated all v2 views hook names for showing legend<\/li>\n<li>deprecate <code>teccc_reposition_legend()<\/code> with v2<\/li>\n<li>deprecate <code>teccc_remove_default_legend<\/code>, just uncheck the setting<\/li>\n<\/ul>\n\n<h4>6.4.8 \/ 2020-02-17 - Happy Birthday Dad! \ud83c\udf82<\/h4>\n\n<ul>\n<li>simplify jQuery <code>on()<\/code> for reloading legend superpowers <code>setup()<\/code> and remove conditionals \ud83e\udd1e<\/li>\n<\/ul>\n\n<h4>6.4.7 \/ 2020-02-06<\/h4>\n\n<ul>\n<li>separate JS conditionals<\/li>\n<li>fix stylesheet URL for protocol relative link when host missing<\/li>\n<\/ul>\n\n<h4>6.4.6 \/ 2020-02-03<\/h4>\n\n<ul>\n<li>improve JS conditional to prevent JS error on non-calendar pages<\/li>\n<\/ul>\n\n<h4>6.4.5 \/ 2020-01-31<\/h4>\n\n<ul>\n<li>make JS conditional more specific so legend superpowers continue to work after prev\/next<\/li>\n<\/ul>\n\n<h4>6.4.4 \/ 2020-01-30<\/h4>\n\n<ul>\n<li>now strip CSS URL scheme to avoid mixed media errors from server<\/li>\n<\/ul>\n\n<h4>6.4.1 - 6.4.3 \/ 2020-01-28<\/h4>\n\n<ul>\n<li>test explicitly for <code>$template instanceof \\Tribe\\Events\\Views\\V2\\Template<\/code>, fixes bug when also using Events Tickets<\/li>\n<li>fix Superpowers JS error, <code>ReferenceError: Can't find variable: tribe<\/code> and <code>views<\/code><\/li>\n<\/ul>\n\n<h4>6.4.0 \/ 2020-01-27<\/h4>\n\n<ul>\n<li>explicitly set file permissions to 644 for CSS files<\/li>\n<li>updated for new v2 views or TEC and ECP<\/li>\n<li>make legend superpowers work for new v2 views, thanks Gustavo!!<\/li>\n<\/ul>\n\n<h4>6.3.2 \/ 2019-10-30<\/h4>\n\n<ul>\n<li>fixed storage of <code>cache_key<\/code> transient<\/li>\n<\/ul>\n\n<h4>6.3.1 \/ 2019-10-24<\/h4>\n\n<ul>\n<li>fixed incorrect CSS selector for background colors<\/li>\n<\/ul>\n\n<h4>6.3.0 \/ 2019-10-04<\/h4>\n\n<ul>\n<li>structural reorganization of plugin<\/li>\n<li>update WordPress and PHP requirements to align with The Events Calendar<\/li>\n<li>remove <code>GLOB_BRACE<\/code> as unneeded and limiting <a href=\"https:\/\/github.com\/afragen\/the-events-calendar-category-colors\/pull\/108\">#108<\/a>, thanks @DakuTree<\/li>\n<\/ul>\n\n<h4>6.2.0<\/h4>\n\n<ul>\n<li>add filter to set options hash, hopefully this solves an issue with load balancers not having current files<\/li>\n<li>change <code>wp_get_upload_dir()<\/code> to <code>wp_upload_dir()<\/code> so that if the directory doesn't exist it is created<\/li>\n<li>the above fixes <a href=\"https:\/\/wordpress.org\/support\/topic\/writing-to-css-file-failing\/\">Writing to CSS file failing<\/a>, thanks @dpegasusm<\/li>\n<\/ul>\n\n<h4>6.1.1 \/ 2019-03-09<\/h4>\n\n<ul>\n<li>fix PHP notice <a href=\"https:\/\/github.com\/afragen\/the-events-calendar-category-colors\/pull\/102\">#102<\/a><\/li>\n<li>updated <code>composer.json<\/code><\/li>\n<li>update message incompatible PHP version for consistency with WP core<\/li>\n<\/ul>\n\n<h4>6.0.0 \/ 2018-10-20<\/h4>\n\n<ul>\n<li>move <code>teccc_get_terms<\/code> filter after filters <code>teccc_add_terms<\/code> and <code>teccc_delete_terms<\/code><\/li>\n<li>add default values when using <code>teccc_add_terms<\/code> filter<\/li>\n<li>added <code>class Bootstrap<\/code> for plugin loading, now requires PHP 5.4+<\/li>\n<li>use <code>sanitize_hex_color()<\/code> for validation of color picker data<\/li>\n<li>fixed coloring for <em>featured events<\/em><\/li>\n<\/ul>\n\n<h4>5.3.0 \/ 2018-08-03<\/h4>\n\n<ul>\n<li>fixed widget CSS<\/li>\n<li>move list CSS to <code>class Extras<\/code><\/li>\n<li>fixed week CSS<\/li>\n<li>load stylesheet all the time, more efficient as external file<\/li>\n<li>updated <code>class Main<\/code> to <code>use Tribe__Events__Main<\/code> can now use <code>Tribe__Events__Main::TAXONOMY<\/code><\/li>\n<li>refactor setup of ignored terms and term data<\/li>\n<li>add <code>border-right<\/code> to featured events<\/li>\n<li>updated validation code upon saving options<\/li>\n<li>use <code>wp_upload_url()<\/code> to for stylesheet to accommodate user directory preferences<\/li>\n<li>set SSL corrected URLs for <code>wp_upload_url()<\/code>, <a href=\"https:\/\/core.trac.wordpress.org\/ticket\/25449\">https:\/\/core.trac.wordpress.org\/ticket\/25449<\/a><\/li>\n<\/ul>\n\n<h4>5.2.2 \/ 2018-07-28<\/h4>\n\n<ul>\n<li>fix to create CSS when files don't exist<\/li>\n<\/ul>\n\n<h4>5.2.1 \/ 2018-7-28<\/h4>\n\n<ul>\n<li>cleanup old CSS files<\/li>\n<\/ul>\n\n<h4>5.2.0 \/ 2018-07-28<\/h4>\n\n<ul>\n<li>write standard and minified CSS to files<\/li>\n<li>load minified CSS when WP_DEBUG is false<\/li>\n<li>improve minify code<\/li>\n<li>update CSS selectors for list view<\/li>\n<li>refactor CSS strings for inline format<\/li>\n<\/ul>\n\n<h4>5.1.0<\/h4>\n\n<ul>\n<li>update for new tooltip title as <code>h3<\/code><\/li>\n<li>added some functions for adding deprecated CSS<\/li>\n<li>added function <code>Extras::override_customizer()<\/code> for when <em>Customizer<\/em> settings need to be overridden<\/li>\n<\/ul>\n\n<h4>5.0.1<\/h4>\n\n<ul>\n<li>needed a space between CSS parameters, PhpStorm reformat code error<\/li>\n<\/ul>\n\n<h4>5.0.0<\/h4>\n\n<ul>\n<li>add <code>Default<\/code> as text color option which removes CSS color tag<\/li>\n<li>Settings will need to be re-saved due to the new settings options<\/li>\n<\/ul>\n\n<p>See <a href=\"CHANGES.md\">CHANGES.md<\/a> for complete list of changes.<\/p>","raw_excerpt":"Add event category background colors to The Events Calendar events.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/18841","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=18841"}],"author":[{"embeddable":true,"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/stellarwp"}],"wp:attachment":[{"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=18841"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=18841"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=18841"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=18841"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=18841"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=18841"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}