How to get the native Pods blocks to work in Archive templates?
-
Hello,
I’ve seen others struggle with the same issue but have yet to find a straight answer to how to make it work.
I’m using the WP theme Twenty Twentyfour in combination with Pods and have created a CPT with custom fields. In Twenty Twentyfour, you can easily create templates for individual posts and archives. Templates work as intended for individual posts, including auto templates. However, I still need to figure out a solution for archive templates. The archive is certainly displayed, but only, e.g., regular headings.
I have activated the Excerpt option in the “Advanced Tab ” and tried enabling “Auto template” with “Filter: the_excerpt.”
So the Pods Blocks display nothing, and nor does the Auto template.
My idea is to use IF conditional tags to show with an icon, e.g., if some PDF document is attached to the post (one of the custom fields).
As an experiment, I have now tried the Plugin “Meta Field Block,” and for some reason, that works, but the native Pods blocks don’t. Of course, I would like to get the native Pods blocks to work, even in the Archive templates, but how?
- You must be logged in to reply to this topic.