Pods template – custom taxonomy magic tags in [if] statements
-
Hi,
I’ve got a Walks pod which is Pod Custom Post Type.
It’s got a field walk_place which is a Relationship field to a Pod Custom Taxonomy called Place.
The Place custom taxonomy has a number field called latitude.Inside a pods template for a single Walk I can do:
Latitude: {@walk_place.latitude}
and this outputs the latitude field correctly.However, the walk_place field is optional, so I want to do:
[if walk_place] Latitude: {@walk_place.latitude} [/if]
However, this just outputs the string “Latitude:” but not the value.
What should I be doing? (I’ve also tried just {@latitude} but it doesn’t work either).
Thanks for your help,
Robbie
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Pods template – custom taxonomy magic tags in [if] statements’ is closed to new replies.