Get taxonomy slug from url

Sorry I’m new to taxonomies & trying to learn quickly.

I’ve set up sectors and assigned a post to it. If I go to the post, I can see the URL has
www.mydomain.com/sectors/auto/

Read More

How can I get auto from the URL?
Thanks

Related posts

Leave a Reply

2 comments