跳到内容

Post Type Icons

v0.2.2

Matthew Boynes · 2013年6月21日 上架

Quickly and easily add Font Awesome icons to your custom post types.

正在使用
90+
评分
4.6 / 5
累计下载
6,426
最近更新
2014年4月25日
5 条评价需要 WordPress 3.6+已测试到 3.9.40

贡献者

截图

An example of a couple of icons next to the "Post" icon in a normal state
An example of a couple of icons next to the "Post" icon in a normal state
An example of a couple of icons next to the "Post" icon in a hover/active state
An example of a couple of icons next to the "Post" icon in a hover/active state

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).

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums