Plugin Directory

wp-typogrify

Author: Hamish Macpherson

Note: To prevent errors and HTML glitches, wp-typogrify no longer typogrifies post titles.

wp-typogrify is a WordPress plugin that "Prettifies your web typography by preventing ugly quotes and 'widows' and providing CSS hooks to style some special cases."

It's a port of the original 'typogrify' Python code by Christian Metts. http://code.google.com/p/typogrify/

What can it do?

  • Widon't (tries to prevent text 'widows', where only one word wraps at the end of a line)
  • Run text through SmartyPants, http://www.michelf.com/projects/php-smartypants/
  • Wrap initial quotes (and French style (Guillemets) quotes) in class='dquo' or class='quo' depending on if they are single or double
  • Wrap ampersands in class='amp'
  • Wrap multiple adjacent capital letters in class='caps'
  • Add a thinspace before and after en and em dashes

Download

FYI

Average Rating

5 stars
4 stars
3 stars
2 stars
1 star
(7 ratings)