MITS No Lonely Words

MITS No Lonely Words

Details
View on WordPress

No Lonely Words solves a common Polish typography problem: single-letter conjunctions and prepositions (a, i, w, z, o, u…) left alone at the end of a line. The plugin replaces the trailing space after these words with a non-breaking space ( ) so they always stay attached to the following word.

How it works

Content is processed once when a post is saved and the result is stored in post meta. On every subsequent frontend request the plugin reads directly from WordPress’s in-memory meta cache (no regex, no extra database queries). For posts created before activation, inline processing runs on the first view and is cached for the rest of that request.

Supported words

Polish conjunctions and prepositions: a, i, w, z, o, u, do, ku, na, od, po, we, za, ze, ale, czy, bo, nie, już, też, się, jak, co, to, oraz, lecz, więc, przez, przed, przy, nad, pod, bez, dla, m.in., np., tj. and more.

Supported filters

  • the_title
  • the_content
  • the_excerpt
  • woocommerce_short_description
  • term_description
  • widget_text_content
  • single_cat_title

Requirements

  • PHP 8.0+, WordPress 6.0+

Developed and maintained by MITS, a WordPress agency. We build fast, reliable WordPress sites for businesses in Poland and beyond.

Privacy

This plugin does not collect any personal data and does not make any external HTTP requests.

Details

Plugin code:
mits-no-lonely-words
Plugin version:
2.1.0
Outdated:
No
WP version:
6.0 or higher
PHP version:
8.0 or higher
Test up to WP version:
7.0
Total installations:
0
Last updated:
2026-06-22
Rating:
Times rated:
0
nbsp
orphans
polish
typography
widows