Title: A Feature Request
Last modified: August 18, 2016

---

# A Feature Request

 *  [jpigford](https://wordpress.org/support/users/jpigford/)
 * (@jpigford)
 * [21 years, 5 months ago](https://wordpress.org/support/topic/a-feature-request/)
 * 1. Turn long links into [Link] or something like that. Like say somebody posts
   a comment with a link that has like 150 characters…it will screw my layout up
   because the link doesn’t break to the next line. So it would be cool if it was
   either a feature or a hack for automatically turning long links to something 
   like [Link]

Viewing 8 replies - 1 through 8 (of 8 total)

 *  [Anonymous](https://wordpress.org/support/users/anonymous/)
 * (@anonymous)
 * [21 years, 5 months ago](https://wordpress.org/support/topic/a-feature-request/#post-130405)
 * Can’t you just ask commenters to add their links in a civilised fashion? 😉
 *  Thread Starter [jpigford](https://wordpress.org/support/users/jpigford/)
 * (@jpigford)
 * [21 years, 5 months ago](https://wordpress.org/support/topic/a-feature-request/#post-130440)
 * Haha…rrrrriiigggghtt.
 *  [Michael Adams (mdawaffe)](https://wordpress.org/support/users/mdawaffe/)
 * (@mdawaffe)
 * [21 years, 5 months ago](https://wordpress.org/support/topic/a-feature-request/#post-130444)
 * I think Kafkaesqui was working on a plugin for this problem, but I can’t find
   it in the forums, possibly because some of his comments have mysteriously [disappeared](http://wordpress.org/support/topic.php?id=20086).
 * I hear if you say his name three times to a mirror in the dark, though, he comes
   and answers your questions.
 * The trick is saying his name right.
 *  [Kafkaesqui](https://wordpress.org/support/users/kafkaesqui/)
 * (@kafkaesqui)
 * [21 years, 5 months ago](https://wordpress.org/support/topic/a-feature-request/#post-130846)
 * Yes, I cobbled together a plugin to deal with this:
 * [http://codex.wordpress.org/User:Kafkaesqui/Projects#Break_Text](http://codex.wordpress.org/User:Kafkaesqui/Projects#Break_Text)
 * mdawaffe is correct in that the forum post about it was wiped (I’m seeing a lot
   of this…), so here’s a brief explanation of use:
 * Install plugin, activate it, and in wp-comments.php, replace
 * `<?php comment_text(); ?>`
 * with
 * `<?php break_text(comment_text); ?>`
 * The parameters are:
 * `<?php break_text(func, 'args', cols, 'cut'); ?>`
 * func -> WP function name – this is the function name break_text() replaces, without
   all the php syntax. In this case, `comment_text`.
 * args -> Parameter(s) passed to the WP function.
 * cols -> Number of columns or characters to break a line of text at. Defaults 
   to 60.
 * cut -> Character(s) to use for the break. Defaults to a space.
 * Another example is:
 * `<?php break_text(comment_text, '', 72, '- '); ?>`
 *  [Kafkaesqui](https://wordpress.org/support/users/kafkaesqui/)
 * (@kafkaesqui)
 * [21 years, 5 months ago](https://wordpress.org/support/topic/a-feature-request/#post-130847)
 * Note: I still prefer Anonymous’ recommendation. `:)`
 * mdawaffe: Emphasis is on the first and third syllables. That’s why I took so 
   long. The mirror is optional.
 *  [cdturri](https://wordpress.org/support/users/cdturri/)
 * (@cdturri)
 * [21 years, 5 months ago](https://wordpress.org/support/topic/a-feature-request/#post-130849)
 * TinyURL is a good alternative solution:
 * [http://tinyurl.com/](http://tinyurl.com/)
 *  [Michael Adams (mdawaffe)](https://wordpress.org/support/users/mdawaffe/)
 * (@mdawaffe)
 * [21 years, 5 months ago](https://wordpress.org/support/topic/a-feature-request/#post-130855)
 * tinyurl has it’s own problems… I’ll say no more – just trust your source.
 * Kafkaesqui: Well, I had the stresses right; must have been one of those vowels.
   I’m betting on the second syllable. Of course, I’ve assumed all along there were
   four syllables total. I suppose there wouldn’t _have_ to be.
 * But I’ll let you keep your secrets.
 *  [Kafkaesqui](https://wordpress.org/support/users/kafkaesqui/)
 * (@kafkaesqui)
 * [21 years, 5 months ago](https://wordpress.org/support/topic/a-feature-request/#post-130863)
 * mdawaffe: I provide support for the name, too:
 * [http://guff.szub.net/2003/06/24/in-the-nom](http://guff.szub.net/2003/06/24/in-the-nom)

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘A Feature Request’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 8 replies
 * 5 participants
 * Last reply from: [Kafkaesqui](https://wordpress.org/support/users/kafkaesqui/)
 * Last activity: [21 years, 5 months ago](https://wordpress.org/support/topic/a-feature-request/#post-130863)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
