<txp:if_individual_article /> container tag, 0 attributes


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

...conditional statement...

The tag will execute the contained statements if an individual article is being displayed (i.e. not an article list).

<txp:if_individual_article /> 2 examples

Select next-prev or older-newer navigation

<txp:article />
	<txp:link_to_prev><txp:prev_title /></txp:link_to_prev>
	<txp:link_to_next><txp:next_title /></txp:link_to_next>

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

	<p><txp:site_name /></p>
<txp:else />
	<p><img src="http://yoursite/yourlogo.jpg"></img></p>

What this does
Displays the site’s name when showing a single article, and a logo when not displaying a single article.

Other tags used: else, site_name