Support » Plugins » Hyphenator Instructions?

  • Resolved Gestroud

    (@gestroud)


    Are there any instructions available for setting the Hyphenator plugin up correctly? I went to the plugin page twice over the past two days. It takes over 10 minutes to load on a broadband connection and locks up my browser while I’m waiting.

    When it finally does there’s a half-page popup window asking if I want to win $10,000. Once the popup is closed – which takes two clicks, there are no instructions on the page, just a download link, feature description and version history.

    The readme.txt has no instructions for setting up the CSS class and the example file shows how it should look on a website, but doesn’t offer a clue how or where to add the css classes to my theme’s files.

    This could really be a handy plugin if it had proper documentation.

    http://wordpress.org/extend/plugins/hyphenator/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Sorry that there are some ads on my free website. But the slow connection is not normal.

    The plugin does nothing other than include Hyphenator.js (a javascript file) in your homepage and provides you a configuration interface. So the best way for further information about the configuration is the Hyphenator.js wiki. It’s maybe a good idea to refer to this wiki at the plugin page and readme.txt.

    The class name which the configuration wants to know is the name of the class of the elements in your template which should be hyphenated. This is a little bit difficult for people who doesn’t know how html and css works. In your case the right class name is “postbg” (without quotation marks).

    Thread Starter Gestroud

    (@gestroud)

    No whooami, it doesn’t help. I know how to install plugins. The plugin lacks documentation about the usage of the special css classes and where to insert the classes in my files.

    e2b, thank you for your answer. I’ll give it a shot. But looking at the Hypenator wiki, it’s telling me that I need to add class=”hypenate text” lan=”en”. The class given in the Hyphenate options menu call it just “hyphenate”. Will let you know what happens. Thanks again, especially for sharing the plugin.

    There exist actually two ways to define the element what should be hyphenated. The first way is you leave the entry on the hyphenator settings alone and only edit your template. Then you have to set the default class “hyphenate” to the elements in your template. But most often has the post content elements already a special class name and so the second way is to leave the template as it is and only customize the class name on the hyphenator configuration page. So both ways are right but I think the second want is easier. In your case you have only to set the class name “postbg” (as far as I have seen on “Westchester Web World”) on the configuration page.

    Please note also that in case of class="hypenate text" there are several names in the class attribute so that you have to choose the name that fits only where you want hyphenated content.

    What’s more, as you mentioned the lang attribute lang="en" is missing because without the script can’t choose the right hyphenation table. But instead of defining the attribute to every post body it’s enough to add the attribute only to the html element <html> so that it looks like this: <html lang="en"> You should find and edit this code in the header.php in the folder of your template.

    I hope I could help you with my simple English.

    Hi!

    I use the simple classname “post” and that I entered in the configuration. It works.

    You can see at http://www.kultur-banal.de

    if your wp-theme is clever enough to use standard wp-code,
    then you must not set the language yourself;

    <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>

    unfortunately the hyphen-character is very small and normally very ugly…

    greetings, Connie

    The wp-Typography plugin includes automatic server-side hyphenation that is highly customizable. You might find it useful.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Hyphenator Instructions?’ is closed to new replies.