Automatic NBSP
Support typographic rules in Polish and Czech Moves conjunctions, prepositions, etc. to the new line. ( sierotki )
Support punctuation marks in French
Adds a non-breaking space before punctuation marks as ! ? ; % « »
How it works?
The plugin automatically adds HTML entity ( non-breaking space ) after selected words or phrases. E.g. ’Mr. Someone’ should be ’Mr. Someone’. Works with:
- inlägg
- titles
- sidor
- custom post types
- comments
- widgets
- custom contents
You can create your own list of words/phrases or import our proposals.
Custom contents
You can use the function <?php auto_nbsp($content, $echo); ?> to add to the custom content. Use this in your code.
1. Param $content – (string) (required) Free text
2. Param $echo – (bool) (optional) true (echo), false (return), Default: true
Other features: * Advanced Custom Fields compatibility
If you have any ideas for how Automatic NBSP could be improved, you write to us.
