Building on Shaun Inman’s plugin, Widon’t Part Deux eliminates widows in the titles and content your posts and pages.
- It doesn’t always work if the last word of in the element is wrapped in a tag. (Like if the final word is
- You can’t pick how many words are on the last line (yet).
The easy way:
- Download from the WordPress plugins page and use the Administrator pages to upload and activate.
The other way:
- Upload the
wp-widontfolder and contents to the
- Activate the plugin through the ‘Plugins’ menu in WordPress.
- Update the settings with any additional tags you want to remove widows and orphans from in a post.
- 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_postto sanitize the tags you specify. By default, this is set in
Contributors & Developers
“Widon't Part Deux” is open source software. The following people have contributed to this plugin.Contributors
Translate “Widon't Part Deux” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Removed debugging code that shouldn’t be in production. Oops.
- Fixed issue where oEmbed-generated iframes weren’t loading. Props hacknug.
- Added l10n support.
- 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.
- Added default tags for post content filtering.
- Enable validation and sanitization of the options input.
- Use the Settings API to get and store options in the database.
- Formatted to match WordPress coding standards.
- Forked from Shaun Inman’s plugin at v2.1.1.