Those labels will be placed just before the corresponding list, enclosed with the HTML tag provided as the value for the new attribute: labeltag
.
Example usage:
<txp:linklist wraptag="ul" break="li" label="The links" labeltag="h4" />
will display:
<h4>The links</h4>
<ul>
<li><!-- first link here --></li>
<li><!-- second one here --></li>
<li><!-- and so on --></li>
</ul>
If the labeltag
attribute isn’t specified, the label, followed by a <br />
will precede the wraptag and its contents.
We know that it might not be the perfect solution (and think that there isn’t a perfect one) since the semantically correct option will depend on each site’s markup – it’s much better to leave the tag to your personal choice.