[Plugin: Pods CMS Framework] Querying Pods in WordPress Templates
-
Hello,
I recently started using Pods to develop a web comic site. I created a Pod called ‘comic’, which allows the user to enter a name, publication date, an image, and several other fields.
I would like to integrate this Pod into my Template files (not using Pod Pages). I understand how to use get_field() to grab all of my values, however, what I am a little confused about is how to query my loop so that only ‘comic’ Pods are displayed (as opposed to other posts, pages, or other Pods).
What I am trying to achieve is to have my most recent ‘comic’ Pod (the most recent comic uploaded) show up on my main page. Does anyone have an opinion on the best way to achieve this?
Thanks you.
- The topic ‘[Plugin: Pods CMS Framework] Querying Pods in WordPress Templates’ is closed to new replies.