Title: Text to Custom Field
Author: WPReady
Published: <strong>20 mars 2012</strong>
Last modified: 25 avril 2012

---

Recherche d’extensions

![](https://ps.w.org/text-to-custom-field/assets/banner-772x250.png?rev=521193)

Cette extension **n’a pas été testée avec les3 dernières versions majeures de WordPress**.
Elle pourrait ne plus être maintenue ou supportée et peut présenter des erreurs 
de compatibilité quand elle est utilisée avec des versions récentes de WordPress.

![](https://s.w.org/plugins/geopattern-icon/text-to-custom-field_edbabb.svg)

# Text to Custom Field

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

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

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

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

## Description

The plugin works similar as shortcodes with important differences:

 * It looks for any tag in the post with the following format: **{cf your_custom_field_name
   =your_custom_field_value}**
 * For any tag found, it create a custom field for that post.
 * The tag is erased from the post.

#### How to use

Type in anywhere in a post:
 {cf your_custom_field_name=your_custom_field_value}

Examples:

 * **{cf thumbnail=http://wordpressready.com/wp-content/uploads/oneringtorulethemall.
   jpg}**
 * **{cf posticon=/wp-content/uploads/posticon.ico}**
 * **{cf my_custom_color=#22fb30}**

This three examples written inside the post will create three custom fields with
respectives values
 when you publish the post. After publishing, the tag inside 
the post are deleted. No other information is erased.

#### Notes

 * Because the way the plugin works, it will run fine with ANY desktop blogger(Windows
   Live Writer, Scribefire, Qumana, w.Bloggar, Zoundry
    , Thingamablog, Blod Desk,
   Flock, Post2Blog, Bleezer, you name it)
 * The plugin can be used even inside the wordpress editor (though what would it
   be the point?)
 * You can use any number of custom field for post.
 * Reserved characters: ‘{cf’ and ‘}’,because it conflicts with the delimiters.
 * After the post, the tags are automatically erased.
 * If the custom field is already present, its value will be replaced.

## Captures d’écran

[[

## Installation

 1. Unzip the ZIP file and drop the folder straight into your `wp-content/plugins/`
    directory.
 2. Activate the plugin ‘Text to Custom Field’ through the ‘Plugins’ menu in WordPress.

## FAQ

 * What if I use the tag twice? for example {cf my_custom_value=Anna} , {cf my_custom_value
   =Jessy} in the same post?
    Answer: The plugin scans the post from top to bottom
   and update the custom fields in that order. In the strange case you do that, 
   the last tag will take precedence over the first one, where the final value would
   be **my_custom_value=Jessy**
 * Do I need to use quotes (‘) or double quotes (« ) to assign values to the custom
   fields?
    Answer: No quotes or double quotes are needed. But if you use it, they
   would be assigned to the custom field, so be careful!
 * What if there is already a custom field with that name?
    Answer: Any custom field
   with same name is updated
 * What if I want to delete a custom field?
    Answer: This version does not delete
   a custom field. The best it can do is assign an empty value to a custom field
   as {cf my_custom_field= }
 * Any character or exception to consider?
    the ‘}’ can’t be inside an evaluation.
   For example: {cf my_custom_field=hello {there} } won’t work as expected since
   the plugin can’t decide what is the last character. The final evaluation would
   be **my_custom_field=hello {there**. In the same fashion the character combination‘{
   cf’ can’t be inside an assignation.
 * What if I have another question related to this plugin?
    Answer: Contact with
   admin@wordpressready.com for any questions.

## Avis

Il n’y a aucun avis sur cette extension.

## Contributeurs & développeurs

« Text to Custom Field » est un logiciel libre. Les personnes suivantes ont contribué
à cette extension.

Contributeurs

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

[Traduisez « Text to Custom Field » dans votre langue.](https://translate.wordpress.org/projects/wp-plugins/text-to-custom-field)

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

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

## Historique des changements

=1.1=

 * using {cf custom_field_name } to avoid conflict with shortcodes. cf is an abreviation
   of ‘custom fields’
 * Improved documentation

=1.0=

 * Initial release (not for public)

## Méta

 *  Version **1.11**
 *  Last updated **il y a 14 années**
 *  Active installations **10+**
 *  WordPress version ** 2.9 ou plus **
 *  Tested up to **3.3.2**
 *  Language
 * [English (US)](https://wordpress.org/plugins/text-to-custom-field/)
 * Tags
 * [custom field](https://fr-ca.wordpress.org/plugins/tags/custom-field/)[field](https://fr-ca.wordpress.org/plugins/tags/field/)
   [post](https://fr-ca.wordpress.org/plugins/tags/post/)[xmlrpc](https://fr-ca.wordpress.org/plugins/tags/xmlrpc/)
 *  [Vue avancée](https://fr-ca.wordpress.org/plugins/text-to-custom-field/advanced/)

## Notes

No reviews have been submitted yet.

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

[See all reviews](https://wordpress.org/support/plugin/text-to-custom-field/reviews/)

## Contributeurs

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

## Support

Quelque chose à dire ? Besoin d’aide ?

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

## Faire un don

Souhaitez-vous soutenir l’avancement de cette extension ?

 [ Faire un don à cette extension ](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=AGGAL5MFNEBBE&lc=UY&item_name=WordpressReady&item_number=0043&no_note=1&no_shipping=1&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donate_LG%2egif%3aNonHosted)