Getting a taxonomy's term url
-
I’m trying to get the url for a custom taxonomy category term without its ID or slug, because a I want to get the taxonomy that has been queried.
So im trying to get the url of whatever term that is associated with “x” custom taxonomy, the same way that you would get “the_category()” in a category.php file, so how can I get the url for the taxonomy.
single_cat_title( ”, true); gets the name but not the url for that particular taxonomy term.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘Getting a taxonomy's term url’ is closed to new replies.