Title: Advanced Custom Fields &#8211; Taxonomy Field add-on
Author: Brian Zoetewey
Published: <strong>9 février 2012</strong>
Last modified: 8 août 2012

---

Recherche d’extensions

Cette extension **n’a pas été testée avec plus de trois mises à jour majeures de
WordPress**. Elle peut ne plus être maintenue ou supportée et peut avoir des problèmes
de compatibilité lorsqu’elle est utilisée avec des versions de WordPress plus récentes.

![](https://s.w.org/plugins/geopattern-icon/advanced-custom-fields-taxonomy-field-
add-on.svg)

# Advanced Custom Fields – Taxonomy Field add-on

 Par [Brian Zoetewey](https://profiles.wordpress.org/omicron7/)

[Télécharger](https://downloads.wordpress.org/plugin/advanced-custom-fields-taxonomy-field-add-on.1.4.zip)

 * [Détails](https://fr.wordpress.org/plugins/advanced-custom-fields-taxonomy-field-add-on/#description)
 * [Avis](https://fr.wordpress.org/plugins/advanced-custom-fields-taxonomy-field-add-on/#reviews)
 *  [Installation](https://fr.wordpress.org/plugins/advanced-custom-fields-taxonomy-field-add-on/#installation)
 * [Développement](https://fr.wordpress.org/plugins/advanced-custom-fields-taxonomy-field-add-on/#developers)

 [Support](https://wordpress.org/support/plugin/advanced-custom-fields-taxonomy-field-add-on/)

## Description

This is an add-on for the [Advanced Custom Fields](https://wordpress.org/extend/plugins/advanced-custom-fields/)

WordPress plugin and will not provide any functionality to WordPress unless Advanced
Custom Fields is installed and activated.

The taxonomy field provides a select, multi-select or checkboxes of taxonomy terms(
categories, tags, custom taxonomies…)
 and the ability to map the selected terms
to the post. The post type must support the taxonomy for the mapping to work. The
taxonomy field currently does not provide the ability to add new terms to a taxonomy.
The return type of the `get_value()` api can be changed in the field settings.

#### Source Repository on GitHub

https://github.com/GCX/acf-taxonomy-field

#### Bugs, Questions or Suggestions

https://github.com/GCX/acf-taxonomy-field/issues

#### Todo

 * Add ability to add new terms to a taxonomy
 * Add more term selection methods (checkboxes, token input).

## Captures d’écrans

[⌊Taxonomy Field.⌉⌊Taxonomy Field.⌉[

Taxonomy Field.

[⌊Select the taxonomy to show.⌉⌊Select the taxonomy to show.⌉[

Select the taxonomy to show.

[⌊Adding a term to a page.⌉⌊Adding a term to a page.⌉[

Adding a term to a page.

## Installation

The Taxonomy Field plugin can be used as WordPress plugin or included in other plugins
or themes. There is no need to call the Advanced Custom Fields `register_field()`
method for this field.

 * WordPress plugin
    1. Download the plugin and extract it to `/wp-content/plugins/` directory.
    2. Activate the plugin through the `Plugins` menu in WordPress.
 * Added to Theme or Plugin
    1. Download the plugin and extract it to your theme or plugin directory.
    2. Include the `taxonomy-field.php` file in you theme’s `functions.php` or plugin
       file.
        include_once( rtrim( dirname( **FILE** ), ‘/’ ) . ‘/acf-taxonomy-field/
       taxonomy-field.php’ );

## FAQ

  I’ve activated the plugin, but nothing happens!

Make sure you have [Advanced Custom Fields](https://wordpress.org/extend/plugins/advanced-custom-fields/)
installed and
 activated. This is not a standalone plugin for WordPress, it only
adds additional functionality to Advanced Custom Fields.

## Avis

Il n’y a aucun avis pour cette extension.

## Contributeurs/contributrices & développeurs/développeuses

« Advanced Custom Fields – Taxonomy Field add-on » est un logiciel libre. Les personnes
suivantes ont contribué à cette extension.

Contributeurs

 *   [ Brian Zoetewey ](https://profiles.wordpress.org/omicron7/)

[Traduisez « Advanced Custom Fields – Taxonomy Field add-on » dans votre langue.](https://translate.wordpress.org/projects/wp-plugins/advanced-custom-fields-taxonomy-field-add-on)

### Le développement vous intéresse ?

[Parcourir le code](https://plugins.trac.wordpress.org/browser/advanced-custom-fields-taxonomy-field-add-on/),
consulter le [SVN dépôt](https://plugins.svn.wordpress.org/advanced-custom-fields-taxonomy-field-add-on/),
ou s’inscrire au [journal de développement](https://plugins.trac.wordpress.org/log/advanced-custom-fields-taxonomy-field-add-on/)
par [RSS](https://plugins.trac.wordpress.org/log/advanced-custom-fields-taxonomy-field-add-on/?limit=100&mode=stop_on_copy&format=rss).

## Journal des modifications

#### 1.4

 * Added option to use the terms assigned to the post as the field value.

#### 1.3.1

 * Fixed undefined class constant FIELD_NAME issue. Props dmeehan1968

#### 1.3

 * Fixed issue where ACF value was incorrect when setting terms on a post. Props
   dmeehan1968
 * Fixed issue with repeater returning the same value for every row when Set Post
   Terms is enabled. Props XedinUnknown
 * Added indentation to hierarchical taxonomies in the select or multiselect. Props
   dmeehan1968
 * Added the ability to append or override terms on a post. Props dmeehan1968
 * Removed unused code and improved coding practices by using constants.
 * Updated localizations

#### 1.2

 * Fixed issue Taxonomy Field not working in a Repeater Field. Props markSal
 * Fixed a bug which caused wrong options to be shown in the metabox. Props FunkyM
 * Fixed an additional issue with URL generation on Windows hosts.
 * Added hierarchical checkboxes input type similar to builting WordPress taxonomy
   chooser. Props FunkyM
 * Added option to choose link, object or ID as return value for field API calls.
   Props FunkyM
 * Updated localizations

#### 1.1.1

 * Fixed issue with path and URI generation on Windows hosts.
 * Fixed missing and invalid argument notices for get_field() api call. Thanks Rahe
   for the patch.

#### 1.1

 * Improved get_value API call. Using `get_value()` now returns a string of term
   links. Similar to WordPress `get_the_term_list()`.
 * Fixed an issue with terms not being pre-selected when editing a post.
 * Fixed a localization variable name typo.

#### 1.0

 * Initial Release

## Méta

 *  Version **1.4**
 *  Dernière mise à jour **il y a 14 ans**
 *  Installations actives **1 000+**
 *  Version de WordPress ** 3.2 ou plus **
 *  Testé jusqu’à **3.4.2**
 *  Langue
 * [English (US)](https://wordpress.org/plugins/advanced-custom-fields-taxonomy-field-add-on/)
 * Étiquettes
 * [acf](https://fr.wordpress.org/plugins/tags/acf/)[acf add-on](https://fr.wordpress.org/plugins/tags/acf-add-on/)
   [custom field](https://fr.wordpress.org/plugins/tags/custom-field/)[taxonomy](https://fr.wordpress.org/plugins/tags/taxonomy/)
 *  [Vue avancée](https://fr.wordpress.org/plugins/advanced-custom-fields-taxonomy-field-add-on/advanced/)

## Évaluations

 5 sur 5 étoiles.

 *  [  2 avis à 5 étoiles     ](https://wordpress.org/support/plugin/advanced-custom-fields-taxonomy-field-add-on/reviews/?filter=5)
 *  [  0 avis à 4 étoile     ](https://wordpress.org/support/plugin/advanced-custom-fields-taxonomy-field-add-on/reviews/?filter=4)
 *  [  0 avis à 3 étoile     ](https://wordpress.org/support/plugin/advanced-custom-fields-taxonomy-field-add-on/reviews/?filter=3)
 *  [  0 avis à 2 étoile     ](https://wordpress.org/support/plugin/advanced-custom-fields-taxonomy-field-add-on/reviews/?filter=2)
 *  [  0 avis à 1 étoile     ](https://wordpress.org/support/plugin/advanced-custom-fields-taxonomy-field-add-on/reviews/?filter=1)

[Votre avis](https://wordpress.org/support/plugin/advanced-custom-fields-taxonomy-field-add-on/reviews/#new-post)

[Tout voir](https://wordpress.org/support/plugin/advanced-custom-fields-taxonomy-field-add-on/reviews/)

## Contributeurs

 *   [ Brian Zoetewey ](https://profiles.wordpress.org/omicron7/)

## Support

Quelque chose à dire ? Besoin d’aide ?

 [Voir le forum de support](https://wordpress.org/support/plugin/advanced-custom-fields-taxonomy-field-add-on/)