WordPress.org

Plugin Directory

wp-Typography

Improve your web typography with: hyphenation, space control, intelligent character replacement, and CSS hooks.

3.4.0 - July 10, 2016

  • Store hyphenation patterns as JSON files instead of PHP to work around a GlotPress bug that prevents timely language pack updates.
  • Out-of-the box support for Advanced Custom Fields (specifically for fields of the types text, textarea and wysiwyg).
  • Updated list of valid top-level domains.

3.3.1 - June 27, 2016

  • The JavaScript files for Remove hyphenation when copying to clipboard were missing from the build.
  • Fixed a typo in the settings page.

3.3.0 - June 27, 2016

  • Updated HTML parser (html5-php) to 2.2.1.
  • Updated list of valid top-level domains.
  • Removed IE6 references and workarounds. He's dead, Jim.
  • Prevent references to US non-profit organizations like 501(c)(3) being replaced with the copyright symbol (props randybruder).
  • Added optional clean up of text copied to clipboard to prevent stray hyphens from showing on paste.
  • Added CSS classes for smart fractions ("numerator", "denominator") and ordinal suffixes ("ordinal").
  • Fixed « and » spacing when French punctuation style is enabled.
  • Fixed <title> tag handling (no more &shy; and <span>tags, props mpcube).
  • Preliminary API documentation has been added to the plugin website.

3.2.7 - April 14, 2016

  • "Duplicate ID" warnings should be gone now, regardless of the installed libXML version.

3.2.6 - April 05, 2016

  • Fixed autoloading issue on frontpage. Sorry!

3.2.5 - April 05, 2016

  • Properly handle <title> in WordPress 4.4 or higher (props TimThemann).
  • Fixed missing parameter that prevented the Hyphenate headings setting from working correctly.

3.2.4 - April 04, 2016

  • Fixed filtering of <title> tag (do only smart character replacement).

3.2.3 - March 28, 2016

  • Made Safari rendering bug workaround less aggressive by not enabling discretionary ligatures.

3.2.2 - March 22, 2016

  • Fixed Safari rendering bug workaround on Safari 9.1 (Mac OS X 10.11.4).

3.2.1 - March 20, 2016

  • Accidentally, the filter for the_content was dropped in the version 3.2.0.

3.2.0 - March 20, 2016

  • Added support for the French punctuation style (thin non-breakable space before ;:?!).
  • Added proper hyphenation of hyphenated compound words (e.g. editor-in-chief).
  • Added partial support for styling hanging punctuation.
  • Added adjustable limit for the number of cached text fragments.
  • Changed behavior of caching setting: it needs to be explicitely enabled. Having it on by default caused too many problems on shared hosting environments.
  • Started adding filters for programmatic adjustments to the typographic enhancements.
  • Made main plugin class a singleton to ensure easier access for theme developers.
  • Added the wp-Typography filter to additional WordPress hooks and completely disabled wptexturize (if Smart Character Replacement is enabled).

3.1.3 - January 13, 2016

  • Pre­vent in­cor­rect re­place­ment of straight quotes with primes (e.g. "number 6" is not re­placed with “num­ber 6″ but with “num­ber 6”).
  • Fixed a bug that pre­vented header tags (<h1><h6>) that were set as “tags to ig­nore” from ac­tu­ally be­ing left alone by the plu­gin.

3.1.2 - January 7, 2016

  • Do not create (most) transients if Disable Caching is set. This prevents unchecked database growth on large installations.

3.1.1 - January 5, 2016

  • Fixed fatal error when running on PHP 5.3 (use of $this in anonymous function).

3.1.0 - January 3, 2016

  • Minimum PHP version updated to 5.3.4 (from 5.3.0) to ensure consistent handling of UTF-8 regular expressions.
  • Added workaround for insane NextGEN Gallery filter priority (props Itsacon).
  • Added "Clear Cache" button.
  • Changed internal option names to conform to WordPress standards (no camel case).
  • Performance improvements through lazy initialization and caching of the PHP_Typography object state.
  • Fixed diacritics replacement for UTF-8 strings
  • Refactored plugin code for easier maintenance.
  • Date-like values (e.g. "during the fiscal year 2015/2016") are not converted to smart fractions anymore.
  • Added ability to switch between dash styles: both traditional US (em dash without spacing) and international usage (en dash with spaces) can be selected.
  • Various white-space fixes related to dash styling.
  • Language names in the Settings panel are sorted correctly for all locales.
  • Fixed a bug where block-level tags where not detected corrected.
  • Added workaround for duplicate ID warnings generated by some versions of libXML.
  • Updated all hyphenation files and added the following new languages:
    • Afrikaans,
    • Armenian,
    • Dutch,
    • Georgian,
    • German (Traditional),
    • Latin (Classical),
    • Latvian,
    • Thai, and
    • Turkmen.

3.0.4 - December 12, 2015

  • Prevent accidentally invalid XPath queries from being fatal on the frontend.
  • Replaced old FAQ links in the README.

3.0.3 - December 8, 2015

  • Use WordPress languages packs for translations.
  • Fixed a bug in the XPath expression for ignoring tags by CSS ID.

3.0.2 - December 3, 2015

  • A typo prevented custom quote styles from working.

3.0.1 - December 3, 2015

  • Prevent drop-down box settings from being accidentally overwritten (props Stefan Engenhorst).
  • Earlier check for minimum PHP version to prevent a parsing error on PHP 5.2 (props Javi).

3.0.0 - December 2, 2015

  • DOM-based HTML parsing with HTML5-PHP
  • Translation-ready & German translation added
  • Added German as a diacritics language (mainly for French words).
  • Various optimizations (hyphenation is still slow, though)
  • Fixed custom hyphenation patterns.
  • Fixed some calls to deprecated functions.
  • Adopted semantic versioning for the project.
  • Added workaround for Safari font bug.
  • Added transient caching to speed things up a bit.

Requires: 4.4 or higher
Compatible up to: 4.6
Last Updated: 2 weeks ago
Active Installs: 10,000+

Ratings

3.7 out of 5 stars

Support

7 of 8 support threads in the last two months have been marked resolved.

Got something to say? Need help?

Compatibility

+
=
Not enough data

1 person says it works.
0 people say it's broken.

100,4,4 100,1,1 50,2,1 100,2,2
75,4,3 100,3,3 100,1,1 100,1,1
100,2,2 100,2,2 100,4,4 100,2,2
100,8,8 100,5,5
50,2,1 88,8,7
100,3,3 100,1,1 67,3,2 100,1,1
100,5,5
100,1,1
100,3,3
86,7,6
100,2,2
100,4,4
100,2,2
100,11,11
100,5,5
100,4,4
100,2,2
67,3,2
100,1,1
100,7,7
100,2,2
0,1,0
100,1,1
100,1,1
67,3,2
100,1,1
100,1,1 100,1,1 100,2,2 100,1,1 100,1,1
100,1,1 100,1,1 100,1,1 100,1,1 100,1,1
100,1,1 100,1,1 100,1,1
100,1,1 100,1,1 100,1,1 100,1,1
100,1,1 100,1,1
100,1,1
100,1,1 100,2,2 100,1,1