Navigation überspringen

[Gelöst] image next to radio button

This support ticket is created vor 4 years, 4 months. 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 -

Zeitzone des Unterstützers: Asia/Kolkata (GMT+05:30)

Dieses Thema enthält 3 Antworten, hat 2 Stimmen.

Zuletzt aktualisiert von Minesh vor 4 years, 4 months.

Assistiert von: Minesh.

Author
Artikel
#2256715

i'm trying to associate image to each radio button selection instead of " labels"

i've checked this link and applied all of its content but its not working

https://toolset.com/forums/topic/add-images-to-radio-button-options/
can u help me form this img tag
<img src="path/to/icon/directory/[wpv-post-field name='your-radio-field-slug'].png" />
- my image link is : versteckter Link
- and my radio button slug is : test-radio-bouton

#2257405

Minesh
Unterstützer

Sprachen: Englisch (English )

Zeitzone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

<img src="<em><u>versteckter Link</u></em>" />

What if you try to add image tag in "Display text" field as shown with the following image:
=> versteckter Link?

Do you see it working?

#2257721

thank u for ur reply
actually it worked but with some adjustment :
instead of putting the form u provided :
<img src="versteckter Link" />
it worked with this one :
<img src=wp-content/uploads/2022/01/yellow.jpg />
is it logical ?

#2258093

Minesh
Unterstützer

Sprachen: Englisch (English )

Zeitzone: Asia/Kolkata (GMT+05:30)

What if you try:

<img src=<em><u>versteckter Link</u></em>  />

Does that work as well?