Link list

Display one or more links in a neatly organized list.

Last modified: August 14, 2023

link Block names

t2/link-list, t2/link-list-item

By default the link list follows the global link color, but with theme.json its possible to change it:

{
	"styles": {
		"blocks": {
			"t2/link-list": {
				"elements": {
					"link": {
						"color": {
							"text": "#000000"
						}
					}
				}
			}
		}
	}
}

link Properties (t2.json)

link

layout.icons

link

layout

link

features

link Style properties

link PHP Filters

apply_filters( 't2/block/link_list/icon', string $icon, array $attributes )

Allow overriding icon based on values from attributes.

Parameter Type Description
$icon string Icon name.
$attributes array Block attributes.