> ## Content Index
> Fetch the complete content index at: https://horrell.ca/llms.txt
> Use this file to discover other available public pages before exploring further.

# cwh_hobo
- URL: https://horrell.ca/2007/04/02/cwh_hobo/
- Published: 2007-04-02T14:45:16.000Z
- Updated: 2014-03-27T02:14:36.000Z
- Author: Christopher Horrell
- Tags: Textpattern, #Import 2024-10-01 02:36

cwh\_hobo is a Textpattern 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](http://www.amazon.ca/exec/obidos/ASIN/1594482225/suburbanplayb-20?ref=horrell.ca) (more information [here](http://www.areasofmyexpertise.com/?ref=horrell.ca)). 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

```

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>

```

Pretty neat, eh? You can download this plugin below.

[cwh\_hobo 0.2.0](https://github.com/chorrell/cwh%5Fhobo/archive/v0.2.0.zip?ref=horrell.ca)