Dunstan's Tag Transformations
Dunstan Orchard's tag transformations can now be used on every WordPress weblog. Using this plugin, you can insert images and/or code blocks whilst keeping your site consistent and flexible.
Installation
- Download tag-transformations.php from < http://dev.wp-plugins.org/tag-transformations/trunk/tag-transformations.php?format=raw>
- Upload tag-transformations.php to your plugins folder, usually wp-content/plugins/
- Activate the plugin on the Plugins configuration page
- Code files should go in http://yoursite.com/path/to/wordpress/code/, whereas images can be placed wherever you want.
How do I insert an image using <imageins />?
For example,
<imageins="108a" path="images" />
would produce something among the lines of:
<div class="image" style="width: 512px;"><img src="http://mathibus.com/images/108a.jpg" width="500" height="481" alt="" /></div>
For more examples, please see < http://mathibus.com/archive/2005/06/tag-transformations>.
How do I insert a code block using <codeins />?
For example,
<codeins="115b" />
would produce something among the lines of:
<ol class="code"> <li><code>.email {</code></li> <li class="tab1"><code>unicode-bidi: bidi-override;</code></li> <li class="tab1"><code>direction: rtl;</code></li> <li class="tab1"><code>}</code></li> <li class="download">Download this code: <a href="http://mathibus.com/code/115b.txt" title="Download the above code as a text file">/code/115b.txt</a></li> </ol>
