Widon’t
Posted: 29 August 2006 11:06 AM   [ Ignore ]  
Lab Assistant
Avatar
RankRank
Total Posts:  298
Joined  10-18-2004

Shaun Inman created this neat little plugin for Wordpress to eliminate widows from post titles. From his website:

For those who don’t know, in typesetting, a widow is a single word on a line by itself at the end of a paragraph and is considered bad style.

I took the liberty of porting this plugin to EE. Posted to plugins.pmachine.com and available on my site.

 Signature 

Low: the Pro Network member who brought you Low Variables, Low Reorder, Low NoSpam, Low Seg2Cat and many more...

Profile
 
 
Posted: 29 August 2006 01:25 PM   [ Ignore ]   [ # 1 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  2020
Joined  08-04-2002

Cool…being an old print designer, I notice things like widows and it drives me nuts.

Profile
 
 
Posted: 29 August 2006 01:53 PM   [ Ignore ]   [ # 2 ]  
Chancellor's Fellow
Avatar
RankRankRankRankRankRankRankRank
Total Posts:  33338
Joined  05-15-2004

So, what are we gonna do about orphans, then? smile Nice plugin, Lodewijk.

Profile
MSG
 
 
Posted: 29 August 2006 06:30 PM   [ Ignore ]   [ # 3 ]  
Professor
Avatar
RankRankRankRankRankRankRank
Total Posts:  14993
Joined  03-22-2004

Nice one Lodewijk! very handy smile

Profile
 
 
Posted: 30 August 2007 09:21 AM   [ Ignore ]   [ # 4 ]  
Grad Student
Avatar
Rank
Total Posts:  94
Joined  03-21-2006

Is anyone having issues with this plug-in with the new 1.6?

I can’t seem to get it to work properly for some reason.

 Signature 

http://www.sethaldridge.com/

Profile
 
 
Posted: 30 August 2007 10:12 AM   [ Ignore ]   [ # 5 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  637
Joined  03-22-2006

Shouldn’t be affected by 1.6 in anyway. How are you implementing?

 Signature 

(a.k.a the_butcher)

Profile
 
 
Posted: 30 August 2007 02:41 PM   [ Ignore ]   [ # 6 ]  
Grad Student
Avatar
Rank
Total Posts:  94
Joined  03-21-2006

I made sure it was properly installed…which is pretty much drag and drop.

{exp:weblog:entries weblog="quote" limit="1" orderby="random" dynamic="off" rdf="off"}
    
<blockquote>
        
{exp:widont}{quote}{/exp:widont}
    
</blockquote>

    <
div class="customer">
        <
p><span>{customer_name}</span></p>
        <
p>{title}</p>
    </
div>
{/exp:weblog:entries} 

Not sure what I’m doing wrong.

[edit]

I just went and re-downloaded it from EE and it still is not working.

 Signature 

http://www.sethaldridge.com/

Profile
 
 
Posted: 30 August 2007 03:43 PM   [ Ignore ]   [ # 7 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  637
Joined  03-22-2006

Is {quote} formatted in anyway? (xhml/br/textile/etc) also, does the markeup have any “&#nbsp;“s anywhere?

 Signature 

(a.k.a the_butcher)

Profile
 
 
Posted: 30 August 2007 04:07 PM   [ Ignore ]   [ # 8 ]  
Grad Student
Avatar
Rank
Total Posts:  94
Joined  03-21-2006

It is currently set to None, but when I saw what you said I changed it to Textile but it still is not wrapping the bottom word and there are no spaces inserted via HTML.

 Signature 

http://www.sethaldridge.com/

Profile
 
 
   
 
 
‹‹ Plugin: FeedGrab      Plugin: PHPStringFun ››