I’m trying to modify my theme so it shows the tags for that post at the bottom of a post. I’ve added the function to the bottom of the post on the single.php page and it works perfectly by showing the tags.
On index.php however, I paste the same exact code and it does not show the tags at all. No errors either. The code I’m using is: