Archived topic
Blocks inside loop
2 replies · Started by Raul on May 18, 2022
Viewing posts 1–3 of 3
Hi
I'm using a PODS shortcode to display content from a CPT.
For now, it's simple and it looks something like this:
[pods name="my_cpt" limit="20"]
<div>
<a href="{@permalink,esc_url}">{@post_title}</a><br>
<img src="{@post_thumbnail_url.thumbnail,esc_url}">
</div>
[/pods]
However, I want to display much more fields from that CPT. I would use several blocks from GenerateBloacks (instead of my DIV) to display the content inside the loop.
Is this possible?
It works. I have just added the blocks inside the shortcode and it works.
Glad to hear you found a solution!
This archived topic is closed to new replies.