Dear Support-Members,
I am wondering how I can loop all available posts of a custom post type regardless of the post state.
If I write:
<Loop type=podcast sort_field=publish_date sort_order=desc count=1 >
<Field example />
</Loop>
I get the field “example” of the latest published post. I tried it by adding:
status=publish,pending
But still got the field of the latest published post. What am I doing wrong? I need to get the value of a field from the latest post and it doesn’t matter if it is published or a draft.
Thanks for your help! All the best, Daniel