Add Modern Tribe Event Categories as CSS classes in Event Posts

Modern Tribe Event Category

Event Categories are not added as CSS classes to individual Event Posts in the Modern Tribes Event Plugin for WordPress,  however you can use the body_class filter to add them in. add_filter( ‘body_class’, ‘cp_event_taxonomy_in_body_class’ ); // Ref – // Add event categories terms to body class of event posts function cp_event_taxonomy_in_body_class( $classes ){ global…

Read More