PHPackages                             agence-adeliom/acf-icon-picker - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. agence-adeliom/acf-icon-picker

ActiveWordpress-plugin

agence-adeliom/acf-icon-picker
==============================

1.7.0(1y ago)42.1kHTMLPHP ^7.4||^8.0

Since Jun 27Pushed 8mo ago1 watchersCompare

[ Source](https://github.com/agence-adeliom/acf-icon-picker)[ Packagist](https://packagist.org/packages/agence-adeliom/acf-icon-picker)[ Docs](https://github.com/agence-adeliom/acf-icon-picker)[ RSS](/packages/agence-adeliom-acf-icon-picker/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependencies (2)Versions (4)Used By (0)

ACF Icon Picker Field
=====================

[](#acf-icon-picker-field)

Permet de créer un champ ACF de type 'icon-picker'.

---

Attention, dans icomoon, bien penser à exporter la version classe et ne pas baser la font sur le tag i (conflit avec le BO)
---------------------------------------------------------------------------------------------------------------------------

[](#attention-dans-icomoon-bien-penser-à-exporter-la-version-classe-et-ne-pas-baser-la-font-sur-le-tag-i-conflit-avec-le-bo)

```
[class^="icon-"], [class*=" icon-"] {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: '#{$icomoon-font-family}' !important;
  speak: never;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
}

```

Description
-----------

[](#description)

Utilisation des icônes icomoon à mettre en place directement dans le dossier du thème /assets/fonts (tout extraire à la raicne de ce dossier).

Compatibilité
-------------

[](#compatibilité)

Champ ACF compatible avec : \[x\] ACF 5

*Ajouté directement en tant que fonction pour la compatibilité avec les champs ACF wordplate*

Screenshots
-----------

[](#screenshots)

[![Icon Picker](https://raw.githubusercontent.com/houke/acf-icon-picker/master/screenshots/example.png)](https://raw.githubusercontent.com/houke/acf-icon-picker/master/screenshots/example.png)

Installation
------------

[](#installation)

1. Mettre à jour le composer.json

```
"repositories": {
  ...
  "adeliom-icon-picker": {
      "type": "vcs",
      "url": "https://github.com/agence-adeliom/acf-icon-picker.git"
  },
  ...
}
...
"require": {
  ...
  "agence-adeliom/acf-icon-picker": "dev-master"
}
```

2. Laner un `composer update`
3. Activer le plugin depuis l'administration de Wordpress
4. Créer un champ à l'endroit ou vous le souhaitez comme n'importe quel autre champ

```
use Adeliom\Acf\Fields\IconPicker;

...

IconPicker::make("Icône", "icon")->required()->icons(['name-of-your-icon', '....']);
```

### Ancienne version

[](#ancienne-version)

```
acf_icon_picker([
    'name' => 'icon-picker',
    'label' => __('Icone', ''),
    'required' => true,
    ...
])
```

Filters
-------

[](#filters)

Pour modifier les différents chemin ou URLs dans le cas où ils devaient se trouver ailleurs que dans le dossier VotreTheme/assets/fonts/, voici quelques filtres :

```
// modify the path to the icons directory
add_filter( 'acf_icon_path_suffix', 'acf_icon_path_suffix' );

function acf_icon_path_suffix( $path_suffix ) {
    return 'assets/img/icons/';
}

// modify the path to the above prefix
add_filter( 'acf_icon_path', 'acf_icon_path' );

function acf_icon_path( $path_suffix ) {
    return plugin_dir_path( __FILE__ );
}

// modify the URL to the icons directory to display on the page
add_filter( 'acf_icon_url', 'acf_icon_url' );

function acf_icon_url( $path_suffix ) {
    return plugin_dir_url( __FILE__ );
}

// allowed to choose between Image or Font
add_filter( 'acf_icon_image', 'acf_icon_image' );
function acf_icon_image() {
    return true;
}

// modify the format (default : svg)
add_filter( 'acf_icon_image_format', 'acf_icon_image_format' );
function acf_icon_image_format() {
    return "png";
}

// modify the filename (fantasticon)
add_filter( 'acf_icon_filename', 'acf_icon_filename' );
function acf_icon_filename() {
    return "icons.scss";
}
```

###  Health Score

38

—

LowBetter than 85% of packages

Maintenance53

Moderate activity, may be stable

Popularity22

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~480 days

Total

3

Last Release

456d ago

Major Versions

0.0.1 → 1.0.02022-07-29

PHP version history (2 changes)1.0.0PHP ^8.0

1.7.0PHP ^7.4||^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/6471ac11bb69c46070e9140c9272639d3fe4b569c68ef8cde7cf60b0aa4ce9e6?d=identicon)[arnaud-ritti](/maintainers/arnaud-ritti)

![](https://www.gravatar.com/avatar/f84eb060084594eb8f047a7244c2bf238f7e677850a26457610402bc30030afe?d=identicon)[adeliom](/maintainers/adeliom)

---

Top Contributors

[![Antoinewaag](https://avatars.githubusercontent.com/u/51699943?v=4)](https://github.com/Antoinewaag "Antoinewaag (14 commits)")[![Emmadeliom](https://avatars.githubusercontent.com/u/68732127?v=4)](https://github.com/Emmadeliom "Emmadeliom (11 commits)")[![arnaud-ritti](https://avatars.githubusercontent.com/u/77437157?v=4)](https://github.com/arnaud-ritti "arnaud-ritti (1 commits)")[![davidfaby](https://avatars.githubusercontent.com/u/79968407?v=4)](https://github.com/davidfaby "davidfaby (1 commits)")[![djacquemard](https://avatars.githubusercontent.com/u/81741891?v=4)](https://github.com/djacquemard "djacquemard (1 commits)")[![LucasVigneronAdeliom](https://avatars.githubusercontent.com/u/81555425?v=4)](https://github.com/LucasVigneronAdeliom "LucasVigneronAdeliom (1 commits)")

### Embed Badge

![Health badge](/badges/agence-adeliom-acf-icon-picker/health.svg)

```
[![Health](https://phpackages.com/badges/agence-adeliom-acf-icon-picker/health.svg)](https://phpackages.com/packages/agence-adeliom-acf-icon-picker)
```

###  Alternatives

[elgg/elgg

Elgg is an award-winning social networking engine, delivering the building blocks that enable businesses, schools, universities and associations to create their own fully-featured social networks and applications.

1.7k15.7k5](/packages/elgg-elgg)[pressbooks/pressbooks

Pressbooks is an open source book publishing tool built on a WordPress multisite platform. Pressbooks outputs books in multiple formats, including PDF, EPUB, web, and a variety of XML flavours, using a theming/templating system, driven by CSS.

44643.1k1](/packages/pressbooks-pressbooks)[johnbillion/user-switching

Instant switching between user accounts in WordPress and WooCommerce.

19768.3k2](/packages/johnbillion-user-switching)[rainlab/blog-plugin

Blog plugin for October CMS

17257.7k](/packages/rainlab-blog-plugin)[rainlab/user-plugin

User plugin for October CMS

11954.3k13](/packages/rainlab-user-plugin)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
