related_articles
The related_articles tag can be used as either a single tag or a container tag, and is used to produce a list of related (by category) articles.
When used as a container tag, it must be specified as an opening and closing pair of tags, like this:
<txp:related_articles>
...contained statements...
</txp:related_articles>
This is equivalent to putting the contained statements into a form named “my_form” and using:
<txp:related_articles form="my_form" />.
Related matches are selected as follows:
If a match to Cat1 or Cat2 of the individual article being displayed is found in either Cat1 or Cat2 of any other article in the database, it will cause that article to be listed as related.
If Cat1 of the individual article being displayed is left blank and Cat2 is not blank, then all other articles are selected as being related. If both Categories are left blank, then no articles are selected.
attributes
section="unset"
match="Category1,Category2"
sort="Posted desc"
limit="10" (integer)
form="unset"
no_widow="Whatever is set in Advanced Preferences" (boolean)
presentation
label="unset"
labeltag="unset"
break="br"
wraptag="unset"
class="related_articles"
genealogy
Version 4.0.6
Version 4.0.7
Labeled list of related articles
<txp:related_articles label="Related" limit="5" />
Related articles as an unordered list
<txp:related_articles label="Related" limit="10" break="li" wraptag="ul" />
Styles could go this way
.related_articles {
list-style-type:none;
}