Calling custom fields from a specific pod item
-
I want to call a specific item in a pod. That item has a few fields which I also want to call.
I have tried using this code: https://mondaybynoon.com/20100104/pulling-pods-data/
But the problem with this is that it calls all the items in the pod. I only want to call 1 specific pod item. Which shouldn’t require so much code. I am able to call the pod item with this typical wordpress post query: https://pastebin.com/N1YM7HK6.
However I don’t seem to be able to call any of the pod item’s fields. I assume this is because Pods use different fields which aren’t compatible with wordpress post queries.
Either way, is there a nice small bit of php that will allow me to do this? Either using the wordpress post query i linked to above or a pod query similar (but shorter) to the one from Monday By Noon.
- The topic ‘Calling custom fields from a specific pod item’ is closed to new replies.