Click here for HomePagewww.RadMod.com
St. Louis, MO USA
The Radical Moderate
Covering: Big Brother, Propaganda, Theocracy and Liberty
By Tim Willoughby, Y.A.W.L. *
(* Yet Another Wretched Lawyer)

 
HOME RM's Platform RM's Quals About the RadMod TimsLaw.com
 

Libertarian Democrat

A Libertarian Democrat is vigorously pro-personal liberty, and believes government can play a constructive role in regulating our economy and providing a social safety net.

Categories:

About

Help Beta Test:

  • The RadMod is trying to convert an old fashioned HTML business website, TimsLaw.com, over to Wordpress. Feedback on how TimsLaw works would be appreciated.

Credits:

Internal Links:

A Moderate Motto:

"Few things in life are as good or as bad as they seem in the emotions of the moment."
--- An Anonymous Moderate

Long unbroken words break Wordpress layout - Fix with word_wrap.php plugin
Posted in Category: WordPress

Preventing long words from breaking the Wordpress 2.0 layout - Fix with word_wrap.php plugin

Plugin to force loooooooooooong words to wrap in Wordpress, so they don’t break the display layout - word_wrap.php

I had a problem with comments breaking the display when a commenter would copy and paste a HUGELY LONG URL STRING into the comment window. Then I found the word_wrap.php plugin. Problem seems to be solved, and long url strings wrap nicely within my layout.

ISSUE: The word_wrap.php plugin issues two commands to ADD FILTERS. One of the filters is for post-content, and the other filter is for comments.

I have NOT had any problem with post-content containing long words that break my layout. After all, it is I myself who types the text for post-content. But it’s my visitors who write comments, and they can BREAK MY F’n layout !!!!

I was reluctant to add another filter to the post-content. I didn’t want the extra risk that something might go wrong when I saved a post, or something go wrong and prevent users from seeing any posts.

And so, I deleted the line of code from word-wrap.php that adds the filter for post-content.

Since my post-content display wasn’t broken, I wasn’t gonna “fix” it.

 

END of article
    (Printable version)    

 

Leave a Reply



Link:
Long unbroken words break Wordpress layout - Fix with word_wrap.php plugin

by on Wednesday March 29, 2006.
Category: WordPress.

 

PREVIOUS post in SAME category as this post:
Showing only the single latest post on the Wordpress front page, and excluding some categories of posts

 


The RM is a "Libertarian Democrat"

A Libertarian Democrat is vigorously pro-personal liberty, and believes government can play a constructive role in regulating our economy and providing a social safety net.

Lawyers Must
Speak Out!

We must keep our ears tuned to the degeneration toward tyranny.
See Justice O'Connor's Warning.

Recent Rants:

  1. Interpetting that Roger Ailes joke about Obama, Bush and Terrorism
    in Cat: Propaganda-Media
  2. Example of Dem wingnuttery in an extreme gun ban bill (it’s probably DOA tho)
    in Cat: Politics-misc, Libertarian
  3. 11th Circuit says no right to sexual privacy, upholds Alabama ban on sale of dildos
    in Cat: Theocracy, Libertarian, Law-Courts
  4. The era of Republicans ignoring the Golden Rule has ended
    in Cat: Politics-misc
  5. National Park Service no longer discusses age of Grand Canyon - Bush further muzzles science
    in Cat: Science vs Religion
  6. Disease of willful ignorance
    in Cat: Politics-misc
  7. St. Louis County touchscreen voting: Great news and awful news
    in Cat: Politics-misc
  8. GOP merges terror and culture wars: Porn prosecutions UP, Crime -Terror prosecutions DOWN
    in Cat: Libertarian, War
  9. Skeptical Maxims about Polls and Democrats
    in Cat: Politics-misc
  10. Bush admin, not Clinton, screwed up with North Korea
    in Cat: Propaganda-Media, War

Links:

Politics
Anti-Theocracy
Media Watchdogs
  • MediaMatters.org
    Former right wing propagandist saw the light, and shines light on right wing media
  • NewsBusters
    Focusing on liberal bias in the media, food for thought for moderates and liberals
  • Newshounds
    The NewsHounds keep a close eye on the FoxNews propaganda machine
Misc
HOME  | Top of page  | Tim's Employment Law site - www.TimsLaw.com

CONTACT the RadMod

[powered by WordPress.]

Get Firefox!