Published in : 2022-02-26
I want to show all the tags available for an opened post with the customized theme page. I am using templates to show the blog posts.
To show the category I am using the below code.
$categories = get_the_category();
If I print what I am getting using the above command,
It returns data for categories.
Is there any way similar to a category, to obtain tags information and show it on the UI?
Join our community and get the chance to solve your code issues & share your opinion with usSign up Now