MITS No Lonely Words
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_titlethe_contentthe_excerptwoocommerce_short_descriptionterm_descriptionwidget_text_contentsingle_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.