Este plugin no se ha probado con las últimas 3 versiones mayores de WordPress. Puede que ya no tenga soporte ni lo mantenga nadie, o puede que tenga problemas de compatibilidad cuando se usa con las versiones más recientes de WordPress.

GS ACF Icons

Descripción

The ACF icon plugin adds a new field to ACF that enables users to select an icon from a popup.
It works with ACF Repeater fields.
It supports both font icons and SVG icons. You can select if the field should return
* CSS class
* SVG url fragment
* SVG file path
* SVG raw (the SVG markup)

You cannot limit to certain icons or add new icon providers as of writing which is version 0.1.3.

If you are using ACF functions the_field() with CSS class return format you need to enqueue the required CSS.
Use ACFIcon::get_css_handle(get_the_field(‘your-icon-field-id’)) to retrieve the correct CSS handle for the selected icon.

Supported icons are Font Awesome 5 Free, Ionicons and Elementor Icons.

Capturas

Instalación

  1. Download the plugin from the link provided in your order email
  2. Upload the zip file to your site
  3. Activate the plugin

Preguntas frecuentes

How do I use this?

There are few methods either use a plugin such as Advanced Elements that displays ACF fields or add new code to
your theme templates that calls the default ACF functions.
If you are using ACF functions the_field() with you need to enqueue the required CSS.
Use ACFIcon::get_css_handle(get_the_field(‘your-icon-field-id’)) to retrieve the correct CSS handle for the selected icon.

Reseñas

No hay reseñas para este plugin.

Colaboradores y desarrolladores

Este software es de código abierto. Las siguientes personas han contribuido a este plugin.

Colaboradores

Traduce “GS ACF Icons” a tu idioma.

¿Interesado en el desarrollo?

Revisa el código, echa un vistazo al repositorio SVN o suscríbete al registro de desarrollo por RSS.

Registro de cambios

0.1.3

  • Add on request SVG generation
  • Add usage instructions
  • Remove comment artifacts
  • Remove single SVG files
  • Remove duplicate JavaScript
  • Fix issue with wrong ID targeting on repeater icons
  • Fix issue with missing ID when removing icons on first load
  • Fix wrong URL when return format is URL
  • Fix compatibility when used as subfield with Repeater field