跳到内容

Product Attribute Icons Display

v1.0.0

NeatPlugins · 2025年12月26日 上架

Display customizable icons for product attributes on WooCommerce single product pages using WordPress Dashicons.

正在使用
10 以下
评分
暂无
累计下载
453
最近更新
2025年12月27日
需要 WordPress 5.0+已测试到 6.9.12PHP 7.4+

贡献者

截图

Admin settings page showing attribute configuration with color pickers
Admin settings page showing attribute configuration with color pickers
Icons displayed on single product page above product price
Icons displayed on single product page above product price
Icons displayed on single product page below product price 2
Icons displayed on single product page below product price 2
Icons displayed on single product page above product title
Icons displayed on single product page above product title
Custom color settings for individual attributes
Custom color settings for individual attributes
Different Attribute color and Style 1
Different Attribute color and Style 1
Different Attribute color and Style 2
Different Attribute color and Style 2
Different Attribute color and Style 3
Different Attribute color and Style 3

Product Attribute Icons Display allows you to display beautiful, customizable icons for product attributes on single product pages. Perfect for showcasing platform compatibility (Windows, Mac, Linux), region availability, product features, or any other product attributes with visual icons.

The plugin uses WordPress Dashicons, which are built into WordPress and provide hundreds of icons to choose from. Each attribute can have custom colors, labels, and icons, and you can control exactly where the icons appear on your product pages.

Features

  • Icon Library Support

    • WordPress Dashicons (built-in, no setup required)
  • Flexible Icon Placement

    • Above Product Title
    • Above Product Price
    • Below Product Price
    • Below Short Description
    • Manual placement via shortcode
  • Customization Options

    • Custom icon for each attribute term
    • Custom labels for each attribute term
    • Per-attribute color customization (background, text, border)
    • Global default colors for all attributes
    • Customizable border radius
    • Toggle between default and custom colors per attribute
  • User-Friendly Admin Interface

    • Intuitive settings page under WooCommerce menu
    • Live icon preview in admin
    • Expandable attribute details
    • Color picker with visual preview
    • Easy enable/disable per attribute
  • Developer-Friendly

  • Shortcode support: [paiw_product_attribute_icons]

    • CSS variables for easy theme customization
    • Translation ready (text domain: product-attribute-icons-display)
    • WordPress coding standards compliant
    • Hooks and filters for extensibility
  • Performance & Security

    • Lightweight and optimized
    • Proper data sanitization and escaping
    • Nonce verification for all form submissions
    • No external dependencies required

Icon Library Usage

Dashicons (WordPress Default)
* Format: dashicons dashicons-icon-name
* Example: dashicons dashicons-gamepad
* Reference: https://developer.wordpress.org/resource/dashicons/
* Note: Dashicons are built into WordPress and work automatically – no setup required.

Important Notes

Theme Compatibility: Icon positioning uses standard WooCommerce hooks. Some themes may modify or remove these hooks, which could affect automatic icon placement. If automatic positioning doesn’t work with your theme, use the shortcode [paiw_product_attribute_icons] for manual placement.

Icon Library: The plugin uses WordPress Dashicons, which are built into WordPress and don’t require any external resources or setup.

Performance: The plugin is lightweight and optimized. No external dependencies are required.

Support

For support, feature requests, or bug reports, please visit the plugin’s support forum on WordPress.org.

Credits

  • WordPress Dashicons: Built into WordPress (https://developer.wordpress.org/resource/dashicons/)

Plums

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

导航

说明

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

© 2026 Plums