Welcome to the Axion Media Lab blog. We hope you enjoy your stay. Here you will find a few news updates and more than likely a lot of jokes. Feel free to comment and let us know what you think!

divide logo

Introducing Widow Remover

Posted by Mike on March 10, 2015

We at Axion Media Lab are very proud to introduce our first ever WordPress plugin! The plugin goes by the name of ‘Widow Remover’, a working title that perfectly explains the main function of the plugin. Weighing in at a whopping 141 lines of code, Widow Remover does one job; removes those pesky widows from the ends of your paragraphs and other text types in the content editor as well as the title.

The plugin works the second you activate it and any time the content filter is called, our plugin takes the text from the database and uses whats called a non-breaking space to replace the last space in the paragraph, effectively joining the last two words so a widow becomes impossible. The non-breaking space still renders as a space on the front end, but the browser reads it as if the last two words are a single word.

We believe this lightweight functionality is a great addition to any WordPress website!

You can download our plugin from the WordPress directory!