In a single post, how to get the tag slug & tag id of tag used for that particular post.
For e.g; I have a post “Hello World!” tagged in “My Post”. How to get the slug “my-post” in “Hello World!” post page(i.e; single.php file).
In a single post, how to get the tag slug & tag id of tag used for that particular post.
For e.g; I have a post “Hello World!” tagged in “My Post”. How to get the slug “my-post” in “Hello World!” post page(i.e; single.php file).
Comments are closed.
Reference : https://wordpress.stackexchange.com/questions/130947/get-term-slug-of-current-post