Blog

function custom_auto_insert_event_category_description() { // Check if we're on a taxonomy page for 'tribe_events_cat' or another event taxonomy if (is_tax('tribe_events_cat')) { $term_description = term_description(); // Check if there's a description to display if (!empty($term_description)) { echo '
' . $term_description . '
'; } } } // Adjust the hook to where you want the description to appear. This example uses 'tribe_events_before_main_content'. add_action('tribe_events_before_main_content', 'custom_auto_insert_event_category_description');
Shopping Basket