>
Download This Plugin | |
Download Elegant Themes | |
Name | Taxonomy Font Icons |
Version | 1.0 |
Author | Tomi Mäenpää / H1 |
Rating | 0 |
Last updated | 2015-02-02 08:22:00 |
Downloads |
48
|
Download Plugins Speed Test plugin for Wordpress |
Home page PageSpeed score has been degraded by 0%, while Post page PageSpeed score has been degraded by 0%
Taxonomy Font Icons plugin added 24 kB of resources to the Home page and 24 kB of resources to the sample Post page.
Taxonomy Font Icons plugin added 1 new host(s) to the Home page and 1 new host(s) to the sample Post page.
Great! Taxonomy Font Icons plugin ads no tables to your Wordpress blog database.Taxonomy Font Icons lets users connect Font Awesome icons to categories, tags and custom taxonomies.
In addition to just connecting the icons, Taxonomy Font Icons also provides few helper functions that will print a list of a single post taxonomy terms and full taxonomy term list with their corresponding icons.
By default, Taxonomy Font Icons uses Font Awesome icons served from CDN. For developers, there is a filter called tfi_filters_default_args
which you can use, so that you may define what icon font to use, where to load it and what icons are available for selection.
If you want to use a custom icon font, here is an example using a custom made icon pack from Icomoon:
add_filter( 'tfi_filters_default_args', 'my_custom_icons' );
function my_custom_icons() {
$args['taxonomies'] = array( 'post_tag' );
$args['font'] = 'icomoon';
$args['stylesheet'] = get_stylesheet_directory_uri() . '/icomoon/style.css';
$args['icons'] = array(
'icon-user' => '',
'icon-heart' => '',
'icon-grid' => '',
'icon-volume' => '',
'icon-home' => '',
'icon-navicon' => '',
);
return $args;
}