rah_chuck_norris
Published under current TXP projects
The plugin simply outputs a random Chuck Norris-quote from the Chosen Favorite Quotes.
Image: rah_chuck_norris
List of features
- Outputs a random Chuck Norris-quote
- Attribute to choose the quote
- Outputs valid XHTML with valid Chuck Norrisness
Requirements
- Textpattern 4.x.x
Installation and usage
The general behavior stands: paste plugin code to the plugin installer textarea and run the automatic setup. Then just activate the plugin and you are ready to use the new tag, <txp:rah_chuck_norris />, that plugin includes like others.
Attributes
The tag is <txp:rah_chuck_norris /> and attributes for it follow.
linenumber
Select which quote you want to show. Allowed values 1-81. Default is unset, and outputs a random quote.
Default: linenumber="" Example: linenumber="12"
Example
Code
<txp:rah_chuck_norris />
Outputs
Most people have 23 pairs of chromosomes. Chuck Norris has 72... and they're all poisonous.