Looping a template with a shortcode
-
Hello,
I have a template with an html structure and pods magic tags. I’ve created a shortcode to loop the template block, but the output is comma delimited lists for each magic tag. Is that clear as mud?
Here is my template:
<div class="team-member-block elementor-post__card"> <img src="{@team_members.post_thumbnail_url.medium}" alt="{@team_members.post_title}" title="{@team_members.post_title}"> <div class="team-member-meta"> <h4>{@team_members.post_title}</h4> <em>{@team_members.job_title}</em><br> <a href="mailto:{@team_members.email_address}"><i class="fas fa-envelop"></i>{@team_members.email_address}</a> </div> </div>
Here is my shortcode:
[pods name=”country” template=”Team Member Card”]
Thanks for your help!
The page I need help with: [log in to see the link]
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Looping a template with a shortcode’ is closed to new replies.