QUESTION:

Is there a <txp:if_not_... /> tag?



ANSWER:

Textpattern includes a number of conditional txp:if_… tags.

All of the built-in conditional tags support the <txp:else /> tag. It works like this:

<txp:if_section name="about">
This section is "about"
<txp:else />
This section is not "about"
</txp:if_section>

To do if not section, simply leave the first part empty:

<txp:if_section name="about">
<txp:else />
This section is not "about"
</txp:if_section>

The same technique can be used with any <txp:if_...> tag.