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/
How can I get auto from the URL?
Thanks
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/
How can I get auto from the URL?
Thanks
You must be logged in to post a comment.
I think you are looking for
get_query_var
Try this: