Does hy­phen­ation af­fect search?

It de­pends on the search en­gine. Google and Ya­hoo prop­er­ly han­dle the soft-​hyphen char­ac­ter. Mi­crosoft and Ask im­prop­er­ly treat soft-​hyphens as word breaks. For­tu­nate­ly, Google and Ya­hoo com­prise more than 90% of the search market.

Be­cause Word­Press search queries the data­base — and hy­phen­ation is not stored to the database-​local search is not affected.


| | Posted in | Comments Off on Does hy­phen­ation af­fect search?

Which browsers sup­port hyphenation?

Start­ing with In­ter­net Ex­plor­er 6, Fire­fox 3, Sa­fari 2, and Opera 8, all ma­jor web browsers have of­fered full sup­port for on­line hyphenation.


| | Posted in | Comments Off on Which browsers sup­port hyphenation?

How does hy­phen­ation work?

The soft-​hyphen is an in­vis­i­ble char­ac­ter that com­mu­ni­cates to web browsers al­low­able line breaks with­in words. When a web brows­er wraps a line at a soft-​hyphen, a hy­phen is shown at line’s end.

Sim­i­lar to the soft-​hyphen, the zero-​space char­ac­ter com­mu­ni­cates al­low­able line breaks with­in strings of text. But un­like the soft-​hyphen, it does not show a hy­phen at line’s end. This is ide­al for forc­ing con­sis­tent wrap­ping of long URLs. It al­so can be used to force line breaks in un­co­op­er­a­tive web browsers af­ter hard-​hyphens in words like “zero-​space” and “soft-​hyphen”.


| | Posted in | Comments Off on How does hy­phen­ation work?

Why hy­phen­ate?

Hy­phen­ation in­creas­es the vi­su­al ap­peal of your web­site. When jus­ti­fy­ing text with­out hy­phen­ation, word spac­ing is dis­tract­ing­ly large. With left-​aligned text, the right edge will be un­nec­es­sar­i­ly ragged.


| | Posted in | Comments Off on Why hy­phen­ate?

What hy­phen­ation lan­guage pat­terns are included?

wp-​Typography has multi-​language sup­port. Pat­tern li­braries are in­clud­ed for:

  • Afrikaans,
  • Ar­men­ian,
  • As­samese,
  • Basque,
  • Be­laru­sian,
  • Ben­gali,
  • Bul­gar­i­an,
  • Cata­lan,
  • Chi­nese Pinyin (Latin),
  • Church Slavon­ic,
  • Croa­t­ian,
  • Czech,
  • Dan­ish,
  • Dutch,
  • Eng­lish (Unit­ed Kingdom),
  • Eng­lish (Unit­ed States),
  • Es­peran­to,
  • Es­ton­ian,
  • Finnish,
  • French,
  • Friu­lan,
  • Gali­cian,
  • Geor­gian,
  • Ger­man,
  • Ger­man (Tra­di­tion­al),
  • Greek (An­cient),
  • Greek (Mod­ern Monotonic),
  • Greek (Mod­ern Polytonic),
  • Gu­jarati,
  • Hin­di,
  • Hun­gar­i­an,
  • Ice­landic,
  • In­done­sian,
  • In­ter­lin­gua,
  • Irish,
  • Ital­ian,
  • Latin,
  • Latin (Clas­si­cal),
  • Latin (Litur­gi­cal),
  • Lat­vian,
  • Lithuan­ian,
  • Kan­na­da,
  • Kur­man­ji,
  • Malay­alam,
  • Marathi,
  • Mon­go­lian (Cyril­lic),
  • Nor­we­gian,
  • Nor­we­gian (Bok­mål),
  • Nor­we­gian (Nynorsk),
  • Oc­c­i­tan,
  • Oriya,
  • Pan­jabi,
  • Pied­mon­tese,
  • Pol­ish,
  • Por­tuguese,
  • Ro­man­ian,
  • Ro­mansh,
  • Russ­ian,
  • San­skrit,
  • Ser­bian (Cyril­lic),
  • Ser­bocroa­t­ian (Cyril­lic),
  • Ser­bocroa­t­ian (Latin),
  • Slo­vak,
  • Sloven­ian,
  • Span­ish,
  • Swedish,
  • Tamil,
  • Tel­ugu,
  • Thai,
  • Turk­ish,
  • Turk­men,
  • Ukrain­ian,
  • Up­per Sor­bian, and
  • Welsh.

| | Posted in | Comments Off on What hy­phen­ation lan­guage pat­terns are included?

My hy­phen­ation set­tings are ig­nored. What’s wrong?

Re­cent brows­er ver­sions sup­port the hyphens CSS prop­er­ty to en­able hy­phen­ation. If you want to the fin­er con­trol over hy­phen­ation that wp-​Typography of­fers, make sure that the your theme stylesheet does not contain

(or one of its vendor-​prefixed vari­ants like -webkit-hyphens). If you can’t re­move the prop­er­ty from the the­me’s stylesheet, make sure to add

in a child theme stylesheet or wp-​Typography’s in­ject­ed CSS. (Don’t for­get the vendor-​prefixed variations!)


| | Posted in | Comments Off on My hy­phen­ation set­tings are ig­nored. What’s wrong?

Why are words hy­phen­at­ed in­cor­rect­ly or not at all?

This plu­g­in in­cludes hy­phen­ation pat­terns for over 50 lan­guages. Please make sure your website’s pri­ma­ry lan­guage is se­lect­ed. wp-​Typography pref­er­ences can be set in the Word­Press ad­min sec­tion un­der Settings > wp-Typography.


| | Posted in | Comments Off on Why are words hy­phen­at­ed in­cor­rect­ly or not at all?

Why are there strange char­ac­ters on my site when it is viewed with Safari?

There is a bug in the shipped Sa­fari 9 that re­sults in strange char­ac­ters be­ing ren­dered when both lig­a­tures and soft hy­phens ap­pear on the same line. (The bug is on­ly trig­gered when the font ac­tu­al­ly sup­ports lig­a­tures, e.g. with Open Sans.)

For­tu­nate­ly, adding the fol­low­ing line to your CSS fix­es the font ren­der­ing and pre­serves ligatures:

If you en­able Add workaround for Safari hyphenation bug, this CSS prop­er­ty is in­sert­ed in­to your page automatically.


| | Posted in | Comments Off on Why are there strange char­ac­ters on my site when it is viewed with Safari?

Why are open­ing quotes not be­ing styled?

This plu­g­in of­fers an op­tion to wrap ini­tial quotes in a span of class quo or dquo. You can then style these class­es in your CSS stylesheet. This is use­ful if you want to-​for example-​negatively in­dent quotes so the quote hangs in the left mar­gin and the text is aligned with the text below.

Please note, this ap­plies on­ly to ini­tial quotes — quotemarks that ap­pear as the first char­ac­ter of a block of text (like a para­graph or block­quote). This does not ap­ply to all open­ing quotes.


| | Posted in | Comments Off on Why are open­ing quotes not be­ing styled?

Why does fil­ter­ing by HTML el­e­ment, class or ID not pre­vent processing?

wp-​Typography does not have ac­cess to HTML stored in your theme files. It on­ly has ac­cess to the con­tent passed to it (i.e. post ti­tle and con­tent); it is un­able to de­ter­mine the greater con­tex­tu­al awareness.

If you try to fil­ter pro­cess­ing based on a class of the body el­e­ment — as an ex­am­ple — noth­ing will hap­pen. wp-​Typography does not see the body el­e­ment. wp-​Typography does fil­ter by HTML el­e­ment, class or ID for any markup present with­in the parsed con­tent. So if you do not want class noTypo processed, fil­ter­ing will on­ly oc­cur with­in the ti­tle or con­tent of your post or page.


| | Posted in | Comments Off on Why does fil­ter­ing by HTML el­e­ment, class or ID not pre­vent processing?