This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Widon't Part Deux

ཞིབ་བརྗོད།

Building on Shaun Inman’s plugin, Widon’t Part Deux eliminates widows in the titles and content your posts and pages.

Known Issues

  • It doesn’t always work if the last word of in the element is wrapped in a tag. (Like if the final word is <strong>bold</strong>.)
  • You can’t pick how many words are on the last line (yet).

སྒྲིག་འཇུག

The easy way:

  1. Download from the WordPress plugins page and use the Administrator pages to upload and activate.

The other way:

  1. Upload the wp-widont folder and contents to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Update the settings with any additional tags you want to remove widows and orphans from in a post.

FAQ

What is a widow and orphan?

When the line length is short enough that a word wraps, but long enough that it only leaves one word on the next line.

It looks something like
this.

But will look like this.
Why should I care?

Because you want your site to be as usable for your visitors as possible. This will help.

What tags can I add in the settings?

The settings filter uses wp_kses_post to sanitize the tags you specify. By default, this is set in wp-includes/kses.php.

གདེང་འཇོག

2016 ལོའི་ཟླ 9 ཚེས 3 ཉིན།
Still works perfectly on the latest and greatest WordPress.
གདེང་འཇོག 5 ཡོངས་སུ་ཀློག

བྱས་རྗེས་འཇོག་མཁན། & གསར་འབྱེད་པ།

“Widon't Part Deux” is open source software. The following people have contributed to this plugin.

བྱས་རྗེས་འཇོག་མཁན།

དག་བཅོས་ཉིན་ཐོ།

1.3.1

Removed debugging code that shouldn’t be in production. Oops.

1.3.0

  • Fixed issue where oEmbed-generated iframes weren’t loading. Props hacknug.
  • Added l10n support.

1.2.0

  • Fixed “smart” quotes that weren’t displayed properly on WordPress.org/plugins.
  • Made compatible with PHP 5.2 since a number of hosts still use that version and it’s supported by WordPress itself.

1.1.1

  • Added default tags for post content filtering.

1.1.0

  • Enable validation and sanitization of the options input.
  • Use the Settings API to get and store options in the database.

1.0.1

  • Formatted to match WordPress coding standards.

1.0.0

  • Forked from Shaun Inman’s plugin at v2.1.1.