Textpattern CMS Template Tags

<txp:if_expires /> container tag, 0 attributes

if_expires

The if_expires tag is a conditional tag and always used as an opening and closing pair, like this…

<txp:if_expires>
...conditional statement...
</txp:if_expires>

The tag will execute the contained statements, if a particular article has an expiry date set. Should be used in an article form.

notes

genealogy

Version 4.0.7

  • tag added
<txp:if_expires /> 1 examples

Show when an article is to expire

<txp:if_expires>
This article expires on <txp:expires />.
</txp:if_expires>

Other tags used: expires