Textpattern CMS Template Tags

<txp:if_last_category /> container tag, 0 attributes

if_last_category

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

<txp:if_last_category>
...conditional statements...
</txp:if_last_category>

The tag will execute the contained statements if the current category (usually one inside the container or form of a category_list) is the last in the currently displayed list.

genealogy

Version 4.0.7

  • Added as a new tag.
<txp:if_last_category /> 0 examples