2017 © Pedro PelĂĄez
 

wordpress-plugin wp-typography

A WordPress plugin for improving your web typography

image

mundschenk-at/wp-typography

A WordPress plugin for improving your web typography

  • Thursday, May 10, 2018
  • by Der Mundschenk & Compagnie
  • Repository
  • 3 Watchers
  • 16 Stars
  • 0 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 3 Forks
  • 4 Open issues
  • 28 Versions
  • 0 % Grown

The README.md

wp-Typography

Build Status Latest Stable Version Quality Gate Status Coverage License, (*1)

Improve your web typography with:, (*2)

  • Hyphenation — over 70 languages supported, (*3)

  • Space control, including:, (*4)

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

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

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

wp‐Typography has the following requirements:, (*7)

  • The host server must run PHP 7.4.0 or later,
  • your installation of PHP must include the following PHP extensions (most do):
  • text must be encoded in UTF‐8.

wp-Typography can easily be ported to any other PHP-based content management system. The Composer package mundschenk-at/php-typography assembles all typographic functionality (without any WordPress-specific code) in an object oriented format that is ready use., (*8)

View the wp-Typography homepage for more information., (*9)

Frequently Asked Questions

FAQs are maintained at the wp-Typography website., (*10)

Three questions come up so frequently, we will republish their answers here:, (*11)

Will this plu­gin slow my page load­ing times?

Maybe. For best performance, use a persistent object cache plugin like WP Redis., (*12)

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., (*13)

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., (*14)

What are the privacy implications of using the plugin?

wp-Typography does not store, transmit or otherwise process personal data as such. It does cache the content of the site's posts. If necessary, you can clear this cache from the plugin's settings page., (*15)

Changelog

A detailed release changelog can be found on the wp-Typography website., (*16)

The Versions

29/12 2017