Go to main content

If excerpt




The if_excerpt 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 excerpt is associated with the article being displayed.


This tag has no attributes of its own. It accepts only the global attributes .


Example 1: Display the excerpt if it exists

    <txp:excerpt />

Other tags used: excerpt.

If you notice any kind of problem with this page's construction or content (outdated information, typos, broken links, or whatever), open an issue to have it sorted. Or have a go at it yourself. :)