Linux 软件免费装

MITS No Lonely Words

开发者 wpaluchmits
更新时间 2026年6月22日 20:03
PHP版本: 8.0 及以上
WordPress版本: 7.0
版权: GPL-2.0-or-later
版权网址: 版权信息

标签

typography nbsp polish orphans widows

下载

2.2.0 2.1.0

详情介绍:

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 Requirements 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.

安装:

  1. Upload the no-lonely-words folder to /wp-content/plugins/.
  2. Activate the plugin via Plugins → Installed Plugins.
  3. Re-save any existing posts to pre-process their content, or let the plugin handle them inline on the first view.

升级注意事项:

2.0.0 Major performance improvement. Content is now processed once on save instead of on every frontend request. Re-save existing posts to pre-populate the cache.

常见问题:

Does it affect the editor?

No. The plugin only modifies the output of content filters. The raw post content in the database and in the editor stays unchanged.

Does it work with WooCommerce?

Yes. Product titles, short descriptions, and full descriptions are all supported via dedicated WooCommerce filters.

Does it work with caching plugins?

Yes. Processed content is stored in post meta (a standard WordPress database table), so it survives full-page cache flushes and is always correct regardless of caching setup.

How do I process existing posts?

Go to Posts → All Posts (or Products), select all, and use the Bulk Edit → Update action. This triggers save_post for each post, which processes and stores the content. Alternatively, any post re-saved individually is processed immediately.

Does it work with WPML or Polylang?

The plugin uses standard WordPress filters and post meta, so it is compatible with WPML and Polylang. Each language version of a post is stored and processed independently.

更新日志:

2.2.0 2.1.0 2.0.0 1.0.0