<txp:if_last_article /> container tag, 0 attributes

if_last_article

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

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

The tag will execute the contained statements if the displayed article is the last in the currently displayed list. It will display in both single article and article list modes. Should be used in an article form.

<txp:if_last_article /> 1 examples

Add an image after the last article in a list

<h3><txp:permlink><txp:title /></txp:permlink> ยท <txp:posted /> by <txp:author /></h3>
<txp:body />
<txp:comments_invite wraptag="p" />
<txp:if_last_article>
<img src="/images/footer.jpg"></img>
</txp:if_last_article>

Other tags used: permlink, title, posted, author, body, comments_invite