soo_hide

Summary:

Like Txp’s hide tag, but with a feature or two

soo_hide version 0.1.3, 0.5 KB
(If it won’t install try the compressed version)

Source files and archived releases available on GitHub.

As usual there’s a discussion thread on the Textpattern forum.

Full plugin help text

Including detailed tag attribute descriptions, and additional usage examples.

Courtesy soo_plugin_display


soo_hide

This is a plugin for Textpattern. It is a drop-in replacement for the native hide tag, with different output depending on site production status:

To force the tag to hide its contents even when in Testing or Debugging mode, set the tag’s force attribute to 1.

Download

Usage

<txp:soo_hide>
	This will run when the site is in Debugging or Testing mode
	(in Testing mode it will be enclosed in HTML comments).
</txp:soo_hide>

<txp:soo_hide force="1">Your secret is safe with me.</txp:soo_hide>

History

0.1.3 (2017-03-11)

0.1.2 (2017-03-11)

0.1.1 (2017-03-11)

0.1.0 (2011-01-13)

Posted 2011-01-13 (last modified 2017-03-13)