설명
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.
스크린샷
설치
- Upload
acf-restrict-color-picker
to the/wp-content/plugins/
directory - WordPress의 ‘플러그인’ 메뉴에서 플러그인을 활성화하세요.
FAQ
-
I have a question
-
Leave your question in the support tab and we’ll respond!
후기
2022년 4월 29일
Does what is says. Thanks.
2022년 4월 19일
Perfect, easy solution. Awesome that it can fetch the theme colors defined in theme.json to. Thank you for sharing!
2021년 5월 1일
Einfach klasse. Vielen Dank.
2020년 12월 4일
I used it, felt great!
2020년 11월 19일
Perfect! 1M Thanks!
2016년 10월 24일
Colors can be chosen easily. Thumps up.
기여자 & 개발자
“Advanced Custom Fields: Restrict Color Picker Options”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.
기여자변경이력
1.3.1
- Bug fix: Adds check for false return from get_theme_support (Thanks @faketib0 and Dan Mensinger!)
1.3
- Adds option to include the current theme’s colors. Thank you to @mrwweb for this idea!
- Adds acfrcpo_get_color_options function to get the current color palette. Thank you to @badjesus for the feature request!
1.2.1
- Fixes $l10n parameter syntax in wp_localize_script.
1.2
- Finally fixes long standing issue with multiple instances of color pickers.
1.1
- Change the plugin name to better match similar plugins in the ACF world.
1.0
- First version of the plugin