アイコン

説明

A WordPress plugin to easily attach an icon to a category, tag or any other taxonomy term.

** Now supports a category, tag or any other taxonomy image field, also.

Please note that this plugin will not automatically output the icon or the image on the frontend of our site.

It is up to you to query and output in your theme using the provided getter functions: get_term_icon_id(), get_term_icon_url(), get_term_image_id(), get_term_image_url().

インストール

  1. Install Category Icon either via the WordPress.org plugin directory, or by uploading the files to your /wp-content/plugins/ directory
  2. After activating Category Icon go and edit any category or term to see the upload field.
  3. Now you can add or edit category, tags or any other taxonomy terms icons.

評価

2022年12月8日
How would someone implement your plugin if there is no documentation? The idea is good but the delivery is poor taste.
2019年11月24日 1 reply
This plugin is absolutely useless without any instructions on how to actually fetch the icon after it has been assigned to a taxonomy term. No support what’s so ever, support questions unanswered, figure out for your self kind of thing. Well done guys!
3件のレビューをすべて表示

貢献者と開発者

アイコン はオープンソースソフトウェアです。以下の人々がこのプラグインに貢献しています。

貢献者

“アイコン” は5ロケールに翻訳されています。 翻訳者のみなさん、翻訳へのご協力ありがとうございます。

“アイコン” をあなたの言語に翻訳しましょう。

開発に興味がありますか ?

コードを閲覧するか、SVN リポジトリをチェックするか、開発ログRSS で購読してみてください。

変更履歴

1.0.1

  • Added sanitization for SVG uploads to prevent Cross-Site Scripting (XSS) vulnerabilities.
  • Implemented secure file naming for uploaded SVG files by appending a random suffix to filenames.
  • Enhanced upload handling to ensure SVG files are sanitized in place without altering the original upload path.
  • Improved compatibility with WordPress file upload checks.

1.0.0

  • Ensure compatibility with WordPress 5.9
  • Add getter functions for term icon and image.
  • Update build process.
  • Clarify description and instructions about what this plugin does and doesn’t do.

0.7.1

  • Improve compatibility with WordPress 5.7

0.7.0

  • We did several compatibility checks with Gutenberg so everything will work just fine
  • Solved an issue where Category-Icon was having a conflict with other plugins in the Dashboard

0.6.0

  • Add a category image field to be used as featured category image

0.5.0

  • Deploy on wordpress.org

0.0.1

  • Init Plugin