I've created a taxonomy.php page in my wordpress template folder, I would like to get the current term id for a function. How can I get this?
get_query_var('taxonomy')
only returns the term slug, I want the ID
I've created a taxonomy.php page in my wordpress template folder, I would like to get the current term id for a function. How can I get this?
get_query_var('taxonomy')
only returns the term slug, I want the ID
Nevermind! I found it :)