Skip Navigation

[Gelöst] Poner un icono en lugar de texto en un boton de un filtro

This support ticket is created vor 3 Jahre, 3 Monate. 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.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 -
- 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 -

Supporter timezone: Europe/London (GMT+01:00)

This topic contains 2 Antworten, has 2 Stimmen.

Last updated by Rafael Corts vor 3 Jahre, 3 Monate.

Assisted by: Nigel.

Author
Artikel
#1902929

Hola Nigel, tengo un codigo en la sección de los paramentros de un filtro que me interesaria poner un icono en lugar de un texto en el boton de buscar.
el icono es de fontawesome por ejemplo:

<i class="far fa-eye"></i>

Que paramentro deberia canviar?

[wpv-filter-start hide="false"]
[wpv-filter-controls]
<div class="form-group">
	[wpv-filter-search-box placeholder="Cerca una paraula" output="bootstrap"][wpv-filter-submit name="buscar" class="far fa-eye btn-secondary"]
</div>
[/wpv-filter-controls]
[wpv-filter-end]

Saludos.
Rafa Corts

#1904867

Nigel
Supporter

Languages: Englisch (English ) Spanisch (Español )

Timezone: Europe/London (GMT+01:00)

Screenshot 2021-01-14 at 08.18.08.png

Hola Rafa

Puedes incluir el elemento del icono directamente en el atributo "name", así:

[wpv-filter-submit name="<i class='fa fa-eye'></i> Search" type="button" output="bootstrap" class="btn-secondary"]

Se supone que tiene los iconos disponible, pero el markup del icono será incluido en el front-end (pantallazo).

#1904919

My issue is resolved now. Thank you!

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.