How to get post taxonomy url and name in wp_query
Please try this <div class=”post-category”> <?php // @ https://developer.wordpress.org/reference/functions/get_the_terms/ $terms = get_the_terms( get_the_ID(), ‘video-category’ ); if ( $terms && ! is_wp_error( $terms ) ){ $term_links = array(); foreach ( $terms as $term ) { $term_links[] = ‘<a href=”‘ . esc_attr( get_term_link( $term->slug, $taxonomy ) ) . ‘”>’ . __( $term->name ) . ‘</a>’; } $all_terms … Read more