Am hoping somebody may also help me pull out a single customized class title and present it on my customized put up web page. I’ve created a brand new customized put up kind ‘Itinerary’ in addition to some new customized classes (phrases):
Expertise
- Water Sports activities
- Climbing Adventures
- Mountain Biking
…
Vacation spot
- Australia
- Canada
- South America
…
Every Itinerary has 2 classes utilized to it, for instance:
Itinerary ‘Coastal Walks’ is categorised as Climbing Adventures and Australia.
I want to show in my single itinerary web page the title of the kid Vacation spot
e.g. Area: Australia (or no matter little one vacation spot is chosen)
I’ve tried utilizing this:
<?php echo the_terms( $post->ID, 'trip_cat', 'Area: ', ', ', ' ' ); ?>
however this shows all of the classes chosen – I am attempting to show solely the kid of class Locations.
Can anybody please assist? 🙂