Please write below code in functions.php : add_action( ‘save_post’, ‘set_default_category’ );function set_default_category( $post_id ) { // Get the terms …
function custom_term_link_url($content) { $current_path = ‘live-topics’; $new_path = ‘live/topic’; $content = str_replace($current_path, $new_path, $content); return $content;}add_filter(‘term_link’, ‘custom_term_link_url’); function add_query_vars_for_live_topics($aVars) { …