Zalomení řádků v češtině a slovenčine
Correct line breaks in Czech and Slovak texts: non-breaking spaces after one-letter prepositions and conjunctions, numbers with units and more.
Install in
In Czech and Slovak, a one-letter preposition or conjunction (k, s, v, z, a, i, o, u) must not stay alone at the end of a line. This plugin automatically adds a non-breaking space after these words when the page is displayed, so they always stay together with the next word – on every screen size.
Most people fix this by pressing Enter before the word. That breaks again as soon as the text is shown on a phone or in a different width. The plugin does it the right way, for the whole site, without changing your saved content.
Made by Jarda Pajskr, a WordPress web developer, to improve Czech typography on the web.
Main features:
- Prepositions – non-breaking space after k, s, v, z
- Conjunctions – a, i, o, u are kept together with the next word
- Abbreviations – handled according to typographic rules
- Numbers and units – 5 kg, 10 m and similar stay on one line
- Special rules – ordinal numbers, scales, formatted numbers
- Your own expressions – define words or phrases that must never be split
Why this plugin?
According to the Czech spelling rules (Pravidla českého pravopisu), the non-syllabic prepositions v, s, z, k must not be written at the end of a line. Typographic standards are even stricter and recommend not ending a line with any one-letter word.
The plugin inserts non-breaking spaces ( ) in the right places, which improves readability and follows typographic standards.
Compatibility:
- WordPress 5.0 or newer (tested with 7.2)
- PHP 7.4 or newer
- Block editor (Gutenberg), including Full Site Editing blocks
- Classic editor
- Advanced Custom Fields (ACF) – text, textarea and wysiwyg fields
- Oxygen Builder, Bricks Builder, Elementor and Breakdance (since 1.1.0)
- All modern themes (classic and block themes)
- Multisite
Performance:
Text is processed only on the front end, when a page is displayed. The administration is not slowed down.
Written by Joobi from the project's own listing. See the source page
1.1.1
- Tested with WordPress 7.2.
- The plugin description is now in English, as required by WordPress.org. Czech and Slovak descriptions can be added through translate.wordpress.org.
- “Tested up to” is now declared only in readme.txt.
1.1.0
- Added support for Oxygen Builder (internal filters, works without turning on “Apply the_content filter to Oxygen content”).
- Added support for Bricks Builder.
- Added support for Elementor (front end and individual widgets).
- Added support for Breakdance.
- Wider support for blocks and Full Site Editing (post title, post excerpt, site title, query title, comment content and more).
- Security:
preg_quote()now uses an explicit delimiter (prevents errors with special characters in custom lists). - Security: added
rel="noopener noreferrer"to external links in the administration. - Defensive
is_string()check inprocess_text()against warnings from filters that may pass non-string values. - Updated plugin description to match the actual builder support.
- Removed unnecessary
flush_rewrite_rules()on activation and deactivation. - Removed an unused AJAX nonce and
admin-ajaxURL from the script localization. - Cleaned up dead code in
uninstall.php. - Simplified the protective
index.phpfiles.
1.0.2
- Small fixes and stability improvements.
1.0.1
- Better compatibility with ACF.
1.0.0
- First public release.
Follow this listing's changes (Atom feed)