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.

Automatic NBSP

Description

Prend en charge les règles typographiques en polonais et en tchèque
Déplace les conjonctions, prépositions, etc. à la ligne. (sierotki)

Prend en charge les signes de ponctuation en français
Ajoute un espace insécable   avant les signes de ponctuation comme !, ?, ;, %, «, ».

Comment ça marche ?
L’extension ajoute automatiquement l’entité HTML   (espace insécable) après les mots ou phrases sélectionnés. Par exemple, «M. Personne» doit être « M. Personne ». Fonctionne avec :

  • articles
  • titres
  • pages
  • types de publications personnalisés
  • commentaires
  • widgets
  • Contenus personnalisés

Vous pouvez créer votre propre liste de mots/phrases ou importer nos propositions.

Contenu personnalisé
Vous pouvez utiliser la fonction <?php auto_nbsp($content, $echo);?> pour ajouter &nbsp; au contenu personnalisé. Utilisez ceci dans votre code.
1. Param $content – (chaîne) (obligatoire) Texte libre
2. Param $echo – (booléen) (facultatif) true (écho), false (retour), par défaut: true

Autres fonctionnalités :
* Advanced Custom Fields compatibility

Si vous avez des idées sur la manière dont Automatic NBSP pourrait être amélioré, écrivez-nous.

Installation

  1. Installez l’extension depuis le Tableau de bord ou téléversez le répertoire automatic-nbsp et tout son contenu dans le répertoire /wp-content/plugins/.
  2. Activer l’extension par l’intermédiaire du menu « Extensions » de WordPress.
  3. Allez dans Réglages -&gt ; Automatic NBSP et définissez vos préférences.
  4. Profitez des espaces insécables ajoutés automatiquement

Avis

10 juillet 2021
I was hunting for a mysteriously broken code block formatting, where some line breaks were stripped away. It turned out this plug-in was the cause. Share it seems not longer maintained. I would love to continue to use it.
12 mars 2021
I installed this plugin mainly to auto-add non-breakable space after prepositions. This works well. I also appreciate the easy settings page of this plugin. However, there are many things which could be done better: The plugin page claims to cover Czech but I can only choose between Polish and English vocabulary in the settings. There is no information on whether the plugin kicks in when saving a post or rendering it. I discovered it’s while rendering. This is good to fix older posts as well but it might make each rendering a bit slower. A link to the plugin settings could be shown on the Plugins page. The plugin only offers adding &nbsp; after the customizable vocabulary words and before preset punctuation marks. I’d be glad if both lists were customizable. The plugin offers no way to automatically add &nbsp; in more complicated situations, e.g. after numbers, especially ordinal ones (the German or Czech way). And last but not least, the plugin should be tested with the latest WordPress releases, although it’s doing well for me with WordPress 5.6.
2 août 2020
Hello, While WordPress is at version 5, I don't understand why it is still necessary to use a plugin to fix the problem of no break spaces before double height signs. Fortunately Damian Gora developed Automatic NBSP and solved the problem. Many thanks Damian for this great plugin, simple and efficient.
8 septembre 2017
I love to have good formated text! With this plugin it is possible 🙂 Thank you!
Lire les 12 avis

Contributeurs/contributrices & développeurs/développeuses

« Automatic NBSP » est un logiciel libre. Les personnes suivantes ont contribué à cette extension.

Contributeurs

Traduisez « Automatic NBSP » dans votre langue.

Le développement vous intéresse ?

Parcourir le code, consulter le SVN dépôt, ou s’inscrire au journal de développement par RSS.

Journal

1.5.4, April 11, 2019

  • CHANGE: Nothing changed. Only version.

1.5.3, November 25, 2016

  • FIX: special case for a mark « (by francois.massart)

1.5.2, April 24, 2016

  • FIX: Escaping another special characters from phrases

1.5.1, January 28, 2016

  • AJOUTÉ l’intégration avec l’extension « Advanced Custom Fields ».
  • SUPPRIMÉ Caractéristique problématique (garder les chiffres grouper).

1.5

  • AJOUTER Garder les numéros groupés comme option
  • FIX Bug with words ending with a dot .

1.4

  • FIX Bug with disappearing titles.

1.3

  • ADD New function auto_nbsp($content, $echo) allows to add nbsp to the custom content. Use this in your code.
  • ADD &nbsp; before punctuation marks as ! ? ; % « »

1.2

  • Title is now supported.
  • Excerpt is now supported.
  • Comment text is now supported.
  • Widget text is now supported.
  • Phrases is now allowed.
  • Add case sensitive for words or phrases.
  • Add list of conjunctions and other phrases for the Polish and English language.
  • Fix mechanism for adding a &nbsp entitie.
  • Polish translation

1.1

  • Fix bug compatibility wordpress 3.6.

1.0

  • First version.