Sauter la navigation

[Résolu] How to build dynamic link using Toolset

Ce fil est résolu. Voici une description du problème et la solution proposée.

Problem:
How to build dynamic link using Toolset

Solution:
You can use the anchor tag with either classic editor block or Fields and Text block and add the required HTML with that.

You can find the proposed solution in this case with the following reply:
=> https://toolset.com/forums/topic/shortcode-not-clickable/#post-2094155

Relevant Documentation:

This support ticket is created Il y a 3 années et 6 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.

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 5 réponses, a 2 voix.

Dernière mise à jour par maiS Il y a 3 années et 6 mois.

Assisté par: Minesh.

Auteur
Publications
#2094117

Hi,
You provided me with a shortcode to control the sizes of the images in a view - you guys had some trouble making the image sizes adjust no matter how you changed them, so you solved it with a shortcode. I just realized that the image is not click-able. Is it possible to make the image clickable so you can click your way to the camp through the image as well? All the elements in the view should be clickable.

It is on this site - the view with white background: lien caché

Thanks.

#2094155

Minesh
Supporter

Les langues: Anglais (English )

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

Hello. Thank you for contacting the Toolset support.

To link the image with the current post URL in the loop, you just need to replace your image code with the following code:

<p><a href="[wpv-post-url]">[types field='cover-image' title='%%TITLE%%' alt='%%ALT%%' size='custom' width='600' height='400' resize='crop'][/types]</a></p>
#2094177

Hi Minesh,

It gets me this error: "Validation failed. Please, provide correct values for all fields." when I update the page. Can you help?

#2094281

Minesh
Supporter

Les langues: Anglais (English )

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

I see you have added number of custom fields, can you please check if you miss to setup the value or source for any of your custom fields or try to remove the top view filter and see if that causes the issue?

#2094477

Hi there,

I tried again and now it works - thanks 🙂

#2094479

My issue is resolved now. Thank you!