Content last modified Tuesday 24 August 2021
hop to #bottom
Categories:
Author:
Current version:
0.2
About It:
Get it:
Rate it:
  • Helpful?
  • 0 Yes
  • 0 No
Flag it:

If you'd like to provide updated information and do not have access to directly edit, please contact the site admin; thanks!

cwh_hobo

cwh_hobo is a plugin that will display a random hobo name from John Hodgeman’s list of 700 hobo names taken from his book The Areas of my Expertise. Once installed, you use it by simply placing the follwing in any article, page, or form within Textpattern:

<txp:cwh_hobo />

This will produce a random hobo name, and number, like so:

#171: Twink the Reading-Room Snoozer

You can see it in action in the sidebar under Random Hobo

cwh_hobo also accepts two attributes: wraptag and class. So, for instance, if you want to wrap the output in a paragraph tag with the class of “hobo”, you’d have the following:

<txp:cwh_hobo wraptag="p" class="hobo" />

which would produce:

<p class="hobo">#171: Twink the Reading-Room Snoozer</p>
Article Request Count:
Keywords/tags:
Initially released:
02 Apr 2007
Posted here:
13 Aug 2007

You know you want to visit the Archives.
Published with Textpattern