Content last modified Tuesday 24 August 2021
hop to #bottom
Categories:
Author:
Current version:
0.1
About It:
Get it:
Rate it:
  • Helpful?
  • 0 Yes
  • 0 No
Flag it:

If you'd like to provide updated information and do not have access to directly edit, please contact the site admin; thanks!

adi_wrap

Summary

This plugin will wrap its contents in an HTML tag – but only if there’s something to wrap.

Usage

Simply put the adi_wrap tag around the contents you need wrapped up:

<txp:adi_wrap wraptag="HTML tag">
	...contained statements...
</txp:adi_wrap>

and if the “…contained statements…” generate some output then they’ll be surrounded by the HTML tag of your choice.

Using adi_wrap will help avoid the creation of empty tags in your markup.

Article Request Count:
Keywords/tags:
Initially released:
23 jun 2010
Posted here:
23 Jun 2010

You know you want to visit the Archives.
Published with Textpattern