A better way is here:
{echo:get_queried_object_id}
Can get you the CURRENT term ID - so you don’t need to know the category - thus you can use it for all category pages.
A better way is here:
{echo:get_queried_object_id}
Can get you the CURRENT term ID - so you don’t need to know the category - thus you can use it for all category pages.