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".
PHP
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
README.md
cwh_hobo-0.2.txt
cwh_hobo.php

README.md

cwh_hobo

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 (more information here). 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>