Advanced Custom Fields: SVG Icon
Add svg icon selector for ACF field.
by BE API Technical team · github.com/beapi/acf-svg-icon · website
★ 50stars
15forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/beapi/acf-svg-icon/archive/refs/heads/master.zipFrom the readme
Advanced Custom Fields: SVG Icon #
This enhance Advanced Custom Field plugin by adding a custom field.
This ACF field is a select2 field in order to include your great fonts. It will allow you to select icons and then return the corresponding class icon.
Compatibility
This ACF field type is compatible with:
ACF 5.0.0 and up, that means the pro version.
ACF 4 (not supported).
Installation
via Composer
1. Add a line to your repositories array: { "type": "git", "url": "https://github.com/BeAPI/acf-svg-icon" }
2. Add a line to your require block: "bea/acf-svg-icon": "dev-master"
3. Run: composer update
Manual
1. Copy the plugin folder into your plugins folder.
2. Activate the plugin via the plugins admin page.
3. Create a new field via ACF and select the SVG Icon selector.
How to ##
Upload SVG into library
You can upload media in your library, it must be an SVG, and then it will be displayed into the SVG dropdown.
In this case, consider using Scalable Vector Graphics (svg) for security.
In your own theme ###
To load several SVGs from your theme (development), use the following filter to add the main sprite SVG file :
Contributing ##
If you gonna change some JS or CSS,
Read the full README on GitHub →
Releases
| Tag | Published |
|---|---|
| 2.2.0 | May 19, 2026 |
| 2.1.3 | Feb 1, 2024 |
| 2.1.2 | Jul 17, 2023 |
| 2.1.0 | Nov 29, 2022 |
| 2.0.4 | Oct 28, 2019 |
| 2.0.1 | Nov 20, 2018 |
| 1.2.0 | Jul 27, 2017 |
These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.