Oct 20 2007
Plugin: mg_txpversion
The plugin <txp:mg_txpversion />
simply returns the version of your current Textpattern installation. You can use this in the head of your pages or in your RSS feed.
<txp:mg_txpversion />
Attributes
This plugin takes / has no attributes.
Examples
In a feed template, in the ‘channel’ portion of the feed:
<generator>http://textpattern.com/?v=<txp:mg_txpversion /></generator>
Notes on Usage
Could also be placed in the head of a standard template, or anywhere else where you might want to display the version of your txp installation.
Credits
This one is embarrassingly simple, but it was written by Michael Gravel.