Problem:
In this ticket the user wanted to wrap each of his repeating fields in a url.
Solution:
What you can do is to use the [wpv-for-each ]
https://toolset.com/documentation/user-guides/views-shortcodes/#vf-153482
This way you can loop through each of the fields and add the link to it .
Like this.
<ol>[wpv-for-each field="wpcf-my-field"]<li><a href="[types field='my-field' output='raw'][/types]>[types field='myField'][/types]</a></li>[/wpv-for-each]</ol>
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
- | 9:00 – 12:00 | 9:00 – 12:00 | 9:00 – 12:00 | 9:00 – 12:00 | 9:00 – 12:00 | - |
- | 13:00 – 18:00 | 13:00 – 18:00 | 13:00 – 18:00 | 14:00 – 18:00 | 13:00 – 18:00 | - |
Supporter timezone: America/Jamaica (GMT-05:00)
This topic contains 2 replies, has 2 voices.
Last updated by 6 years, 4 months ago.
Assisted by: Shane.