Description
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).
Installation
The easy way:
- Download from the WordPress plugins page and use the Administrator pages to upload and activate.
The other way:
- Upload the
wp-widont
folder and contents to the/wp-content/plugins/
directory. - 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.
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 inwp-includes/kses.php
.
Reviews
Contributors & Developers
“Widon't Part Deux” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “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.
Changelog
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.