I am trying to get what categories the post is displayed on the individual post page.
It is currently showing all the categories used across the site.
I’ve had a look on the WordPress Codex but can’t find what I’m looking for.
Can someone point me in the correct direction?
You want to use the_category() function inside the_loop