Title: Text Orphans Remover
Author: Jesse Naylor
Published: <strong>5. januar, 2026</strong>
Last modified: 5. januar, 2026

---

Søg plugins

![](https://s.w.org/plugins/geopattern-icon/text-orphans-remover.svg)

# Text Orphans Remover

 Af [Jesse Naylor](https://profiles.wordpress.org/jessenaylor/)

[Download](https://downloads.wordpress.org/plugin/text-orphans-remover.1.0.1.zip)

 * [Detaljer](https://da.wordpress.org/plugins/text-orphans-remover/#description)
 * [Vurderinger](https://da.wordpress.org/plugins/text-orphans-remover/#reviews)
 *  [Installation](https://da.wordpress.org/plugins/text-orphans-remover/#installation)
 * [Udvikling](https://da.wordpress.org/plugins/text-orphans-remover/#developers)

 [Support](https://wordpress.org/support/plugin/text-orphans-remover/)

## Beskrivelse

Text Orphans Remover (a.k.a. #NoMoreOrphans™) improves the visual quality of long-
form, responsive text by preventing “orphan” words on the last line.

This plugin adds a lightweight script on the **front-end only** (never in wp-admin).
It measures each text block and, when appropriate, replaces the last breaking space
with a non‑breaking space.

Default processed elements:
 p, li, h1–h6, blockquote, figcaption, dd, dt

You can override the selector via JavaScript:
 window.TextOrphansRemoverSelector
= ‘p, li, .my-class’;

## Installation

 1. Upload the plugin folder to `/wp-content/plugins/` (or upload the ZIP via Plugins
    Add New).
 2. Activate “Text Orphans Remover”.
 3. Done — it runs automatically on the front-end.

## FAQ

### Does it work in wp-admin?

No. This plugin never loads in the admin area.

### Can I target different elements?

Yes. Set `window.TextOrphansRemoverSelector` before the script runs (e.g. in your
theme’s footer or a small custom plugin).

### Will it break inline HTML tags (links, strong, em)?

No. The script updates **text nodes** only and does not rewrite your HTML markup.

## Anmeldelser

Der er ingen anmeldelser for denne widget.

## Bidragsydere & udviklere

“Text Orphans Remover” er open source-software. Følgende personer har bidraget til
dette plugin.

Bidragsydere

 *   [ Jesse Naylor ](https://profiles.wordpress.org/jessenaylor/)

[Oversæt “Text Orphans Remover” til dit eget sprog.](https://translate.wordpress.org/projects/wp-plugins/text-orphans-remover)

### Interesseret i udvikling?

[Gennemse koden](https://plugins.trac.wordpress.org/browser/text-orphans-remover/),
tjek [SVN repository](https://plugins.svn.wordpress.org/text-orphans-remover/), 
eller abonner på [udviklerloggen](https://plugins.trac.wordpress.org/log/text-orphans-remover/)
via [RSS](https://plugins.trac.wordpress.org/log/text-orphans-remover/?limit=100&mode=stop_on_copy&format=rss).

## Ændringslog

#### 1.0.1

 * Rebuilt as a minimal, professional plugin.
 * Keeps the original measurement-driven approach, but replaces spaces safely via
   text nodes (no innerHTML rewrites).
 * Expands default targeting beyond paragraphs.

#### 1.0.0

 * Original release.

## Meta

 *  Version **1.0.1**
 *  Senest opdateret **9 måneder siden**
 *  Aktive installationer **Færre end 10**
 *  WordPress-version ** 6.0 eller højere **
 *  Testet op til **6.9.9**
 *  PHP-version ** 7.4 eller højere **
 *  Sprog
 * [English (US)](https://wordpress.org/plugins/text-orphans-remover/)
 * Tags
 * [design](https://da.wordpress.org/plugins/tags/design/)[orphan](https://da.wordpress.org/plugins/tags/orphan/)
   [Readability](https://da.wordpress.org/plugins/tags/readability/)[typography](https://da.wordpress.org/plugins/tags/typography/)
   [widows](https://da.wordpress.org/plugins/tags/widows/)
 *  [Avanceret visning](https://da.wordpress.org/plugins/text-orphans-remover/advanced/)

## Bedømmelser

Der er endnu ikke indsendt nogen anmeldelser.

[Din anmeldelse](https://wordpress.org/support/plugin/text-orphans-remover/reviews/#new-post)

[Se alle anmeldelser](https://wordpress.org/support/plugin/text-orphans-remover/reviews/)

## Bidragsydere

 *   [ Jesse Naylor ](https://profiles.wordpress.org/jessenaylor/)

## Support

Har du noget at sige? Har du brug for hjælp?

 [Vis supportforum](https://wordpress.org/support/plugin/text-orphans-remover/)