Saltar navegación

[Resuelto] image next to radio button

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

Zona horaria del colaborador: Asia/Kolkata (GMT+05:30)

Este tema contiene 3 respuestas, tiene 2 mensajes.

Última actualización por Minesh 4 years, 4 months ago.

Asistido por: Minesh.

Autor
Mensajes
#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 : enlace oculto
- and my radio button slug is : test-radio-bouton

#2257405

Minesh
Colaborador

Idiomas: Inglés (English )

Zona horaria: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

<img src="<em><u>enlace oculto</u></em>" />

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

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="enlace oculto" />
it worked with this one :
<img src=wp-content/uploads/2022/01/yellow.jpg />
is it logical ?

#2258093

Minesh
Colaborador

Idiomas: Inglés (English )

Zona horaria: Asia/Kolkata (GMT+05:30)

What if you try:

<img src=<em><u>enlace oculto</u></em>  />

Does that work as well?