if_individual_article
The if_individual_article tag is a conditional tag and always used as an opening and closing pair, like this…
<txp:if_individual_article>
...conditional statement...
</txp:if_individual_article>
The tag will execute the contained statements if an individual article is being displayed (i.e. not an article list).
Select next-prev or older-newer navigation
<txp:article />
<txp:if_individual_article>
<p>
<txp:link_to_prev><txp:prev_title /></txp:link_to_prev>
<txp:link_to_next><txp:next_title /></txp:link_to_next>
</p>
</txp:if_individual_article>
<txp:if_article_list>
<p>
<txp:older>Previous</txp:older>
<txp:newer>Next</txp:newer>
</p>
</txp:if_article_list>
What this does…
Shows links to the next / previous article if the current page is an article, or shows links to the next / previous page of results if the current page is an article list.
Other tags used: link_to_prev, link_to_next, next_title, prev_title, if_article_list, older, newer
Use the tag with else
<txp:if_individual_article>
<p><txp:site_name /></p>
<txp:else />
<p><img src="http://yoursite/yourlogo.jpg"></img></p>
</txp:if_individual_article>
What this does
Displays the site’s name when showing a single article, and a logo when not displaying a single article.