Favicon Links

By whyte624

★ 5.0/5 (2 ratings)10+ active installationsVersion 1.2

Adds favicons to links in posts to give them nice look.

Description

The plugin adds favicons of websites to links which they lead to.
If a link has image inside (img tag), then favicon will not be added.

To suppress favicon for your link add ‘data-no-favicon’ attribute to the a tag:
my link.

Uses Google S2 Favicon service.

Report issues or/and contribute here: https://github.com/whyte624/wordpress-favicon-links.

Installation

  1. Upload favicon-links.php to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

Screenshots

Changelog

1.2

  • ‘display: inline-block’ for favicons, since some themes make images inside a post ‘display: block;’

1.1

  • Suppress warnings for wrong html markup
  • Small padding after favicon for nicer look
  • Suppress favicon for specific link

1.0

  • Basic functionality