wp-Typography

Description

Improve your web typography with:

  • Hyphenation — over 50 languages supported

  • Space control, including:

    • widow protection
    • gluing values to units
    • forced internal wrapping of long URLs & email addresses
  • Intelligent character replacement, including smart handling of:

    • quote marks
    • dashes
    • ellipses
    • trademarks, copyright & service marks
    • math symbols
    • fractions
    • ordinal suffixes
  • CSS hooks for styling:

    • ampersands,
    • uppercase words,
    • numbers,
    • initial quotes & guillemets.

Screenshots

  • wp-Typography "General" settings page.
  • wp-Typography "Hyphenation" settings page.
  • wp-Typography "Intelligent Character Replacement" settings page.
  • wp-Typography "Space Control" settings page.
  • wp-Typography "Add CSS Hooks" settings page.

Installation

Requirements

wp‐Typography has the following requirements:

  • the host server must run PHP 5.4.0 or later
  • your installation of PHP 5.4.0+ must include the mbstring extension (most do)
  • text must be encoded UTF‐8

FAQ

FAQs are maintained on the wp-Typography website.

Two questions come up so frequently, we will republish their answers here:

Installation Instructions

Requirements

wp‐Typography has the following requirements:

  • the host server must run PHP 5.4.0 or later
  • your installation of PHP 5.4.0+ must include the mbstring extension (most do)
  • text must be encoded UTF‐8
Will this plu­gin slow my page load­ing times?

Yes. Use WP Super Cache.

This plugin breaks post title links. What gives?

More likely than not, your WordPress theme is using an improper function to set the title attribute of your heading’s link. It is probably using the the_title() function, which delivers the post title after filtering. It should be using the_title_attribute() which delivers the post title before filtering. Change out this function throughout your theme when it is used inside of an HTML tag, and the problem should go away.

If you are uncomfortable editing your theme’s code, you may alternatively go to the wp-Typography settings page in your admin panel and add h1 and h2 to the “Do not process the content of these HTML elements:” field. This will disable typographic processing within improperly designed page title links and page titles.

Remember, many more FAQs are are addressed the wp-Typography website.

I’m using Advanced Custom Fields and don’t want my custom fields to be hyphenated! How can I disable that behavior?

Please install the wp-Typography Disable ACF Integration plugin by @sarukku.

Reviews

Great plugin for those who care about typography

Loving typography, I truly appreciate this one. Person who made it must love the rules of typorgaphy a lot, and know that by following them, a pleasurable reading experience for the visitor is guaranteed 🙂
Plugin has great range of features and even works with Advanced Custom Fields!

Awesome

I rarely leave reviews, mainly because of laziness, but this plugin is absolutely amazing, solved the “widows” problem easily, highly configurable…

A huge thank you for your work! Will certainly suggest this to every peer!

Essential plugin. Outstanding support

An essential plugin if you care about things like hyphenation. So long as you use it in conjunction with a caching plugin it’s incredibly useful.

I had a problem (which turned out to be my fault) the developer (pepe) was amazingly quick in replying and helping me fix it.

Very good!

Today I have installed the plugin wp-typography. It was very easy to adjust to my needs. All I needed was hyphenation in german and as we mark in Germany the quotations a bit different than in english spoken countries, I have changed this setting as well.

The result is perfect! The hyphenations works superb. I havent found any wrong word yet. And the quotation marks are nice! I certainly will dive a bit deeper into the settings, as there are many more possibilities to discover.

I have tested wp-typography with the plugin “P3 (Plugin Performance Profiler)”, in order to see, if it slows down my website. Result: 0 seconds! Great!

Pay attention:
If the plugin doesnt seem to work, it may interfere with another plugin. To find out:
1. turn off all plugins, 2. turn on wp-typography (Is the plugin now working?) and 3. turn on every plugin, but everytime you have switched on a plugin verify, if the typos are still being displayed correctly! If you have found the “bad guy” either remove the plugin or take a look in the forum to find a solution (need to edit functions.php).

So, all in all a wonderful plugin. But, what is a software worth for, when you cant get any support. Well, pepe the plugin-maintainer seems to sleep next to his plugin. 😉 He answered my question very fast. Impressing!

5 star recommendation!

wpressman

Read all 27 reviews

Contributors & Developers

“wp-Typography” is open source software. The following people have contributed to this plugin.

Contributors

“wp-Typography” has been translated into these 3 locales: French, German, Russian. Thank you to the translators for their contributions.

Translate “wp-Typography” into your language.

Interested in development?

Browse the code or subscribe to the development log by RSS.

Changelog

4.2.2 – June 18, 2017

  • Bugfix: Properly clear cache on upgrade.
  • Change: Various internal performance improvements.

4.2.1 – June 9, 2017

  • Bugfix: Prevent crash on PHP 5.x when building the hyphenation trie.

4.2.0 – June 8, 2017

  • Feature: Prevent line-breaks in numbered abbreviations (e.g. ISO 9001).
  • Feature: Added new hook typo_php_typography_caching_enabled to disable object caching for very resource-starved environments.
  • Change: Core API refactored and minimum PHP version increased to 5.4.0.
  • Change: Updated hyphenation patterns:
    • German
    • German (Traditional)
    • Latin
    • Latin (Liturgical)
  • Change: Updated list of valid top-level domains.

4.1.2 – May 26, 2017

  • Bugfix: Hyphenation patterns at the end of word were accidentally ignored.
  • Bugfix: Diacritics replacement does not count soft hyphens as word boundaries anymore.

4.1.1 – March 19, 2017

  • Bugfix: Performance issue accidentally introduced in 4.1.0 fixed.

4.1.0 – March 18, 2017

  • Feature: Hyphenator instance has been made cacheable.
  • Feature: Workaround for broken GoDaddy APC object cache.
  • Bugfix: Incorrect replacement of initial hyphens fixed.
  • Bugfix: French spacing rules improved.
  • Bugfix: Proper dashes for German date intervals.
  • Bugfix: WP_Typography::get_user_settings and WP_Typography::process_title now work correctly (props @roopemerikukka).