跳到内容

Advanced Custom Fields: Restrict Color Picker Options

v1.3.1

Adam Walter · 2016年3月8日 上架

Restrict Advanced Custom Fields color picker to a specific subset of colors. Removes color wheel from the field UI so user can't pick other color …

正在使用
1,000+
评分
5.0 / 5
累计下载
1.9 万
最近更新
2022年1月26日
6 条评价需要 WordPress 4.0+已测试到 5.9.21PHP 7.0+

截图

Comma-separated list of HEX color values used to define the color options. Optionally include the current theme's color palette as well.
Comma-separated list of HEX color values used to define the color options. Optionally include the current theme's color palette as well.
Simple color swatches allow the user to easily choose from your color set.
Simple color swatches allow the user to easily choose from your color set.

Restrict Advanced Custom Fields color picker field to a specific subset of custom colors. Removes the color wheel and slider from the field UI so the user can’t pick any other colors

Features

Include the color palette from the current theme by enabling the option on the plugin settings page.

Get the current color options palette in your template code with the acfrcpo_get_color_options function.

Plums

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

导航

说明

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

© 2026 Plums