>
Download This Plugin | |
Download Elegant Themes | |
Name | Post Type Icons |
Version | 0.2.2 |
Author | Matthew Boynes |
Rating | 86 |
Last updated | 2014-04-25 05:24:00 |
Downloads |
1899
|
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%
Post Type Icons plugin added 12 bytes of resources to the Home page and 9 bytes of resources to the sample Post page.
Post Type Icons plugin added 0 new host(s) to the Home page and 0 new host(s) to the sample Post page.
Great! Post Type Icons plugin ads no tables to your Wordpress blog database.Does the pushpin not describe your custom post type? Here are hundreds more icons to choose from. Icons are the GPL-compatible Font Awesome Icons.
This is the same icon features that comes with SuperCPT 0.2+, but pulled out of the plugin for those crazy birds who don't use it.
This adds a function you can use, pti_set_post_type_icon( $post_type, $icon );
to set your post type's icon. For instance, pti_set_post_type_icon( 'event', 'calendar' );
. You can also set the global variable $pti_icons as an array of post type => icon names. Using the global variable is safer, since it doesn't rely on a function (you could of course call if ( function_exists( 'pti_set_post_type_icons' ) )
to be equally safe using the function).