This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.


  • Keep updated!
  • This plugin can be used to justify text on your WordPress blog.
  • You can modify your templates to contain the css classes required,
  • Or you can insert a shortcode in your posts/pages to activate it.
  • Please note that the script is currently very picky and will only justify pure text.
  • This plugin is released under the BSD license, like the original script found at
  • Credits for the script itself should be attributed to


  1. Expand this plugin’s archive content to wp-content/plugins/
  2. Go to Administration > Plugins and activate this plugin.
  3. In your posts/pages, use this syntax:
    [sj [type=full|hyphens|disabled]]
    [sj type=hyphens]
  4. Or update your template to contain the classes recognized by Sweet Justice where you wish to justify text;
    < … class=”sweet-justify”>…
    Three classes are handled:

    • sweet-justice -> justify and handle hyphens for text contained in this element
    • sweet-hyphens -> only handle hyphens
    • justice-denied -> disable justifying and handling hyphens — useful for a child element


There are no reviews for this plugin.

Contributors & Developers

“WP Sweet Justice” is open source software. The following people have contributed to this plugin.


Translate “WP Sweet Justice” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.