Not able to display category link and name [closed]
get_the_catgory() returns an array of category objects assigned to a post. You are trying to use the result as a string. If you have debugging enabled, you would have received an error regarding this. You either need to loop through the array and handle each category separately, or you can reference them directly, like get_the_category()[0] … Read more