I have a query loop that shows cards on my template. Now, in each card I want to show the {featured_image} of the parent post.
I have achieved that by creating another query loop inside the card and including only the parent. Then, I can access {featured_image}.
My issue is that I need to do this many times with the card. I have several query loops accessing that parent and its parent just to get single values.
I am thinking to use a dynamic tag I create like ‘bricks/dynamic_data/render_tag’ & ‘bricks/dynamic_data/render_content’.
I have two questions:
- Is the dynamic data route more efficient than extra query loops?
- How do I replicate {featured_image} through dynamic data? Just return the URL of the image?
