Simply dropping slug into href
field does not make proper URL. You should be using API function to generate correct URL for a term archive – get_term_link()
.
Simply dropping slug into href
field does not make proper URL. You should be using API function to generate correct URL for a term archive – get_term_link()
.