plugin-icon

MITS No Lonely Words

作者 wpaluchmits·
Polish typography fix. Prevents lonely conjunctions at line ends. Processes content once on save, zero overhead on frontend.
版本
2.2.0
最近更新:
Jun 22, 2026

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.

目前已測試版本
WordPress 7.0
此外掛程式已可供下載,並可用於你 系統。