Title: Custom Field Builder &#8211; WordPress custom fields plugin
Author: kirillbdev
Published: <strong>17 novembre 2018</strong>
Last modified: 5 mars 2019

---

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://ps.w.org/custom-field-builder/assets/icon-128x128.jpg?rev=1977675)

# Custom Field Builder – WordPress custom fields plugin

 Par [kirillbdev](https://profiles.wordpress.org/kirillbdev/)

[Télécharger](https://downloads.wordpress.org/plugin/custom-field-builder.zip)

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

 [Support](https://wordpress.org/support/plugin/custom-field-builder/)

## Description

**Custom Field Builder is a powerful and lightweight developer plugin to create 
custom meta boxes and custom fields for WordPress.**

#### Features

• Many free custom fields (regular updating and adding new fields).
 • Easy to install
and very easy to use. • Pure and clean code (increase your admin performance).

#### Links

• [Documentation](http://cfbuilder.kirillbdev.pro)

#### Available fields

• Textbox
 • Textarea • Select • Media (image, attachments) • Logic (checkbox may
only « true » or « false ») • Color picker • Repeater • Checkbox group • Date picker•
Post relationship

### Usage

Watch this short video tutorial

Add the following code to your functions.php (or in any convenient file).

    ```
    <?php
        add_action('cf_builder_init', function ($cfBuilder) {
            $cfBuilder->registerTemplate([
                'id'          => 'custom_fields',
                'title'       => 'Custom Field Builder example',
                'post_type'   => 'post',
                'position'    => 'normal',
                'priority'    => 'high',
                'fields'      => [

                    'author_name' => [
                        'type'    => 'textbox',
                        'title'   => 'Author name'
                    ],

                    'author_bio' => [
                        'type'    => 'textarea',
                        'title'   => 'Author bio'
                    ]

                ]
            ]);
        });
    ?>
    ```

You also can include your custom template in php file. For example:

    ```
    <?php
        add_action('cf_builder_init', function ($cfBuilder) {
            $cfBuilder->registerTemplate('path_to_your_template_file.php');
        });
    ?>
    ```

** See all fields example in examples/base-fields-template.php in plugin directory!**

## Captures d’écrans

 * [[
 * Register custom fields template in functions.php file.
 * [[
 * Custom fields
 * [[
 * Repeater field

## Installation

Via [Composer](http://getcomposer.org/).

    ```
    composer require kirillbdev/custom-field-builder:dev-master
    ```

To do an automatic install of Custom Field Builder, log in to your WordPress dashboard,
navigate to the Plugins menu and click Add New.

In the search field type « cfb » or « Custom Field Builder » and click Search Plugins.
Once you have found it you can install it by simply clicking « Install Now ».

The WordPress codex contains [instructions on how to install a WordPress plugin](https://codex.wordpress.org/Managing_Plugins#Manual_Plugin_Installation).

## Avis

![](https://secure.gravatar.com/avatar/e6a8b53a28c7acd37a10bb3b4a584e8870a55b2601812595751cd476f4df7b25?
s=60&d=retro&r=g)

### 󠀁[Simple and powerful](https://wordpress.org/support/topic/simple-and-powerful-114/)󠁿

 [devbloger](https://profiles.wordpress.org/devbloger/) 20 novembre 2018

This is what I was looking for! I would also like to see front-end api in next version.

 [ Lire l’avis ](https://wordpress.org/support/plugin/custom-field-builder/reviews/)

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

« Custom Field Builder – WordPress custom fields plugin » est un logiciel libre.
Les personnes suivantes ont contribué à cette extension.

Contributeurs

 *   [ kirillbdev ](https://profiles.wordpress.org/kirillbdev/)

[Traduisez « Custom Field Builder – WordPress custom fields plugin » dans votre langue.](https://translate.wordpress.org/projects/wp-plugins/custom-field-builder)

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

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

## Journal des modifications

#### Version 1.2.4 / (05.03.2019)

 * Editor Field release (See example file)

#### Version 1.2.3 / (18.12.2018)

 * Some bug fix and refactoring.

#### Version 1.2.2 / (13.12.2018)

 * Fix bug when textarea in repeater not save new line char.

#### Version 1.2.1 / (02.12.2018)

 * getPostFields API method release (see more in [Documentation](http://cfbuilder.kirillbdev.pro)).
 * Fixed error when call API method getPostField on Repeater which contains Checkbox
   group field.

#### Version 1.2.0 / (28.11.2018)

 * Front-end API release (see more in [Documentation](http://cfbuilder.kirillbdev.pro)).

#### Version 1.1.6 / (22.11.2018)

 * Fix post relationship field (not working for WooCommerce).

#### Version 1.1.5 / (22.11.2018)

 * Added Post relationship field.

#### Version 1.1.1 / (20.11.2018)

 * Added Date picker field.

#### Version 1.1.0 / (18.11.2018)

 * Added Checkbox group field.
 * Fixed repeater bug, when not saved some field types.

#### Version 1.0.1 / (18.11.2018)

 * Fix bug when repeater save previous values when was empty.

#### Version 1.0.0 / (14.11.2018)

 * initial release.

## Méta

 *  Version **1.2.4**
 *  Dernière mise à jour **il y a 7 ans**
 *  Installations actives **10+**
 *  Version de WordPress ** 4.6 ou plus **
 *  Testé jusqu’à **5.0.0**
 *  Version de PHP ** 5.4 ou plus **
 *  Langue
 * [English (US)](https://wordpress.org/plugins/custom-field-builder/)
 * Étiquettes
 * [custom fields](https://fr.wordpress.org/plugins/tags/custom-fields/)[Custom Meta](https://fr.wordpress.org/plugins/tags/custom-meta/)
 *  [Vue avancée](https://fr.wordpress.org/plugins/custom-field-builder/advanced/)

## Évaluations

 5 sur 5 étoiles.

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

[Your review](https://wordpress.org/support/plugin/custom-field-builder/reviews/#new-post)

[Voir tous les avis](https://wordpress.org/support/plugin/custom-field-builder/reviews/)

## Contributeurs

 *   [ kirillbdev ](https://profiles.wordpress.org/kirillbdev/)

## Support

Quelque chose à dire ? Besoin d’aide ?

 [Voir le forum de support](https://wordpress.org/support/plugin/custom-field-builder/)