Favicon

Looking for WET v3.1?

As of September 23, 2014, version 3.1 of the Web Experience Toolkit is no longer supported. The source code and documentation have been moved to the wet-boew-legacy repository.

This plugin provides the ability to add and update the favicon's on a web page. Its default behaviour is to add a mobile favicon to web pages that have a favicon defined by a <link rel="icon" type="image/x-icon"> element.

The mobile favicon's file name, rel, path and sizes can be set with data attributes on the <link rel="icon" type="image/x-icon">:

For example, the following overrides the rel and filename attributes of the mobile favicon:

<link href="favion.ico" rel="icon" type="image/x-icon" data-filename="my-mobile-favicon.ico" data-rel="apple-touch-icon-precomposed">
Date modified: