Skip Navigation

[Résolu] repeating url field output from view – with appended path

This support ticket is created Il y a 2 années et 5 mois. There's a good chance that you are reading advice that it now obsolete.

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.

Aucun de nos assistants n'est disponible aujourd'hui sur le forum Jeu d'outils. Veuillez créer un ticket, et nous nous le traiterons dès notre prochaine connexion. Merci de votre compréhension.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

Ce sujet contient 2 réponses, a 2 voix.

Dernière mise à jour par malagaS Il y a 2 années et 5 mois.

Assisté par: Minesh.

Auteur
Publications
#2403333

Tell us what you are trying to do? output a repeating url field with path appended to beginning

Is there any documentation that you are following?

Is there a similar example that we can see?

What is the link to your site? lien caché (dev)

this is what i have: lien caché field='listen-link' output='raw'][/types]" target="_blank" rel="noopener">Listen
but 'listen-link' is a repeating field.
the output is lien caché
how do I output so that I get each item separately with 'lien caché' appended to the front?

#2403475

Minesh
Supporter

Les langues: Anglais (English )

Fuseau horaire: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

You can use the view's shortcode [wpv-for-each] in order to loop through all the repeating field instance:
- https://toolset.com/documentation/programmer-reference/views/views-shortcodes/#vf-153482

For example:

<ul>[wpv-for-each field="wpcf-listen-link"]
<li> 
<a href="<em><u>lien caché</u></em> field='listen-link' output='raw'][/types]" target="_blank" rel="noopener">Listen</a>
</li>
[/wpv-for-each]
</ul>
#2403633

thanks Minesh. My issue is resolved now.