Automatic NBSP

plugin banner

Automatic NBSP add HTML non-breaking space (&nbsp) in your posts, custom post types and pages.

Author:Damian Góra (profile at wordpress.org)
WordPress version required:3.0
WordPress version tested:5.1.18
Plugin version:1.5.4
Added to WordPress repository:07-08-2013
Last updated:11-04-2019
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Rating, %:84
Rated by:13
Plugin URI:
Total downloads:11 673
Active installs:3 000+
plugin download
Click to start download

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.


ChangeLog