Classy Amp

Classy Amp is a WordPress plugin which wraps ampersands in headings with <span class="amp"> </span>. Thanks to that, you can style your amps via CSS and improve the typography on your website. My friend Alan Lež (alanlez at gmail.com), an aspiring web programmer, is responsible for the programming. Thanks goes to Marko.

Download Classy Amp WP plugin here

How to Use

Copy the classy_amp.php file into your Plugins directory and activate it from your WP admin panel. Hopefully the plugin now inserts the <span> element aroung the amps in the headings and you’re ready to do your CSS magic.

If you’re using serif headings and web-safe fonts like Georgia, to style the ampersands, you can use the following CSS snippet:

span.amp {
font-family: "Goudy Old Style", Palatino, "Book Antiqua", Garamond, serif;
font-style: italic }

Another situation where Classy Amp can come in handy is when you’re setting your headings in Trebuchet MS. Replacing the Trebuchet ampersand with something less crappy is what I usually do.

The plugin should work on WP 1.5 and newer. We’re looking forward to hearing your thoughts and suggestions on making this plugin better. When time permits, we’ll be improving it and making it more user-friendly.

The plugin was inspired by Dan Cederholm, who showed the way of improving web typography with this method.

About Bojan

Web enthusiast.
This entry was posted in Web-design. Bookmark the permalink.

8 Responses to Classy Amp

  1. Bojan says:

    Thnx Jeff.

    Looks like our server was down, hope everything is OK now.

  2. maratz says:

    Classy Amp is typographic WordPress enhancer! :D

  3. Bojan says:

    Well put, Marko! :)
    We still need to figure out the way to force it to work on obscure versions, tho :D

  4. Pingback: Trevor Davis | Blog » Weekly Link Round-Up #6

  5. Pingback: wp-fun » Blog Archive » Fun with ampersands

  6. abelafonte says:

    I you like this functionality then you’ll like the Typogrify WordPress plugin. It does ampersand class and a ton of other useful typographic things.

  7. Bojan says:

    Thanks for sharing, abelafonte, didn’t know there was such a plugin.