Cette extension n’a pas été testée avec plus de trois mises à jour majeures de WordPress. Elle peut ne plus être maintenue ou supportée et peut avoir des problèmes de compatibilité lorsqu’elle est utilisée avec des versions de WordPress plus récentes.

Widon't Part Deux

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:

  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.

Avis

Lire les 5 avis

Contributeurs/contributrices & développeurs/développeuses

« Widon't Part Deux » est un logiciel libre. Les personnes suivantes ont contribué à cette extension.

Contributeurs

Traduisez « Widon't Part Deux » dans votre langue.

Le développement vous intéresse ?

Parcourir le code, consulter le SVN dépôt, ou s’inscrire au journal de développement par RSS.

Journal

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.