该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Custom Term Colors

描述

Provides an easy to use interface to assign colors to any term from any taxonomy. Then you can use them on front-end
using the built-in CSS class or just by calling get_term_meta.

屏幕截图

常见问题

Do I have to place some code in my theme?

No or maybe yes. You can use the plugin as it is, just to differentiate terms by color. However, if you want to display
the colors on the front-end, you may need to use the CSS class, that is something like .ztc-term-label-{ID},
or directly get_term_meta to retrieve the meta value.

I want to display the terms on front end how to do it?

The easiest way is to use the built-in function that comes with this plugin:
ztc_colored_labels( $taxonomy, $post_id = false, $links = false, $limit = false );

评价

此插件暂无评价。

贡献者及开发者

“Custom Term Colors” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“Custom Term Colors”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.0

  • Initial release.