Display the category of a listing
I would like some code to display the parent category of a listing (it is in a child category of a parent category). The code is to tweak one of the Vantage widgets which will sit in the sidebar on single listing pages.
To give you an idea of what I'm doing, I've been able to display the title of the listing with the following code, but haven't found a way to display the category:
$title = sprintf( __("See other listings from %s", APP_TD), get_the_title( ) );
This displays as:
See other listings from listing title
I want code to show:
See other listings from parent category
Any help would be greatly appreciated - I haven't had much luck so far!