BACK TO DIRECTORY

Automatic NBSP

by Damian Gora

4.2
(13 ratings)

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:

  • posts
  • titles
  • pages
  • 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 &nbsp; 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.

Plugin Details

Active Installs
3K+
Total Downloads
15,129
Version
1.5.4
Requires WP
3.0
Requires PHP
Tested Up To
5.1.24
Added
2013-08-07
Last Updated
2019-04-11 2:29pm GMT

Ratings

5
10
4
0
3
1
2
0
1
2