Quantcast
Channel: Blog | The Nexus
Viewing all articles
Browse latest Browse all 4

WP Sweet Justice

$
0
0

Where I show way too much love for some Javascript.

[sj]Proper text justification is what man has over beast. That's what makes us humans. Er...too much?[/sj]

[sj]Okay, let's just say that when reading a book, your eyes and your brain more or less expect to find justified text.[/sj]
[sj]Now, how you wish to present the content of your blog is mostly a matter of personal preference: magazines and textbooks have all but abandoned the notion of "superiority" of justified content. There are still, however, situations where justification can be used contextually: to quote authoritative advice, or highlight an article's main body as opposed to the commentary section, etc.[/sj]

[sj]The layout of your blog or web site will also make a difference: if you are using a template displaying several entries horizontally, you may wish to avoid "ragged right" paragraphs.[/sj]

These layouts, for instance:
http://www.lyxia.org/blog/
http://demo.jauhari.net/
http://wp-themes.der-prinz.com/wyntonmagazine/ (already justified!)

Courtesy of Anthony Jone's blog, here is a quick overview of "ragged/ranged" paragraphs:

Still with me?
[sj]Well, then, it seems that Carlos' script is exactly what you need. Not only does it handle justification, is also offers hyphenation, without which justification would be quite hard to achieve.[/sj]
If only it was easy to integrate with Wordpress!

Turns out, it is. You can download it from the official plugin repository at http://wordpress.org/extend/plugins/wp-sweet-justice/

But how do I use it?

Well, obviously, there is a readme.txt file that shows you what to do.
[sj]Long story short, you can either make pieces of your template justified using the appropriate CSS class, or you can manually justify parts of your posts or pages using a shortcode.[/sj]


Viewing all articles
Browse latest Browse all 4

Latest Images

Trending Articles





Latest Images