2019-02-07 13:15

Keywords: custom, html, attribute

This plugin will (try to) append registered HTML attributes to the output of <txp:tags />. For example, <txp:link /> does not accept style attribute, so passing it, say, style="background:#ffda44" would issue a warning. With etc_attribute enabled, style is registered for all tags, so

<txp:link id="1" style="background:#ffda44" />

appends style="background:#ffda44" attribute to <a href="">Textpattern</a> tag generated by <txp:link />, and we get


You can register additional attributes via plugins preferences. Enjoy!