Found a solution:
// redirect on homepage to taxonomy
add_action("template_redirect", function() {
if (is_front_page()) {
return wp_redirect(get_term_link('type1', 'event_type'));
}
});
Found a solution:
// redirect on homepage to taxonomy
add_action("template_redirect", function() {
if (is_front_page()) {
return wp_redirect(get_term_link('type1', 'event_type'));
}
});