All Projects → Log1x → acf-editor-palette

Log1x / acf-editor-palette

Licence: MIT license
A Gutenberg-like editor palette color picker field for Advanced Custom Fields.

Programming Languages

PHP
23972 projects - #3 most used programming language
javascript
184084 projects - #8 most used programming language
SCSS
7915 projects

Projects that are alternatives of or similar to acf-editor-palette

gutenberg-metadata
Metadata from Project Gutenberg
Stars: ✭ 24 (-65.71%)
Mutual labels:  gutenberg
acf-image-aspect-ratio-crop
Image Aspect Ratio Crop field for Advanced Custom Fields
Stars: ✭ 100 (+42.86%)
Mutual labels:  acf-field
Guty-Blocks-2
A minimal, fast development environment for WordPress Gutenberg blocks
Stars: ✭ 52 (-25.71%)
Mutual labels:  gutenberg
graphql-gutenblock-example
Example Gutenberg Block using WPGraphQL to populate the data
Stars: ✭ 17 (-75.71%)
Mutual labels:  gutenberg
Gutenberg
The Block Editor project for WordPress and beyond. Plugin is available from the official repository.
Stars: ✭ 7,409 (+10484.29%)
Mutual labels:  gutenberg
skeleton-plugin-blocks-gutenberg
No description or website provided.
Stars: ✭ 15 (-78.57%)
Mutual labels:  gutenberg
eightshift-docs
A documentation website for Eightshift open source projects
Stars: ✭ 44 (-37.14%)
Mutual labels:  gutenberg
create-cloud-block
A boilerplate generator for building Gutenberg Cloud blocks.
Stars: ✭ 49 (-30%)
Mutual labels:  gutenberg
acf-move-wp-editor
This is a simple ACF Field that moves the WordPress content editor of a post or page to the location of this field.
Stars: ✭ 32 (-54.29%)
Mutual labels:  acf-field
ACF-Auto-Blocks
Auto-register ACF field groups as blocks in the new editor (Gutenberg).
Stars: ✭ 28 (-60%)
Mutual labels:  gutenberg
editor-blocks
A unique collection of Gutenberg blocks for the new WordPress editor.
Stars: ✭ 28 (-60%)
Mutual labels:  gutenberg
Create Guten Block
📦 A zero-configuration #0CJS developer toolkit for building WordPress Gutenberg block plugins.
Stars: ✭ 3,040 (+4242.86%)
Mutual labels:  gutenberg
fullsiteediting
fullsiteediting.com/
Stars: ✭ 187 (+167.14%)
Mutual labels:  gutenberg
ultimate-addons-for-gutenberg
Power-up the Gutenberg editor with advanced and powerful blocks that help you build websites in minutes!
Stars: ✭ 166 (+137.14%)
Mutual labels:  gutenberg
acf-conditional-logic-advanced
Advanced Custom Fields - Conditional Logic Advanced
Stars: ✭ 31 (-55.71%)
Mutual labels:  acf-field
getwid-style-kit
This boilerplate is designed for WordPress theme developers who are interested in developing themes with the new WordPress 5.x Block Editor - Gutenberg.
Stars: ✭ 33 (-52.86%)
Mutual labels:  gutenberg
StrapPress
Bootstrap 4 WordPress Starter Theme that is Gutenberg Compatible
Stars: ✭ 55 (-21.43%)
Mutual labels:  gutenberg
acf-icon-picker
Creates an icon picker ACF field
Stars: ✭ 79 (+12.86%)
Mutual labels:  acf-field
tiny-blocks
WordPress block editor framework
Stars: ✭ 31 (-55.71%)
Mutual labels:  gutenberg
caxton
Gutenberg pro
Stars: ✭ 22 (-68.57%)
Mutual labels:  gutenberg

ACF Editor Palette

Latest Stable Version Total Downloads Build Status

A Gutenberg-like editor palette color picker field for Advanced Custom Fields.

Field Example

Features

  • Colors are automatically loaded from theme.json and/or the editor palette.
  • Return format includes the default palette keys as well as background and text color classes for convenience.
  • Default value can optionally be set using the color's slug.
  • Colors can optionally be allowed/excluded from the palette.

Requirements

Installation

Bedrock

Install via Composer:

$ composer require log1x/acf-editor-palette

Manual

Download the latest release .zip and install into wp-content/plugins.

Usage

Field Group Example

^ array:5 [▼
  "name" => "Green (500)"
  "slug" => "green-500"
  "color" => "#0e9f6e"
  "text" => "has-text-color has-green-500-color"
  "background" => "has-background has-green-500-background-color"
]

ACF Composer

If you are on Sage 10 and using my ACF Composer package:

$field
  ->addField('my_color_field', 'editor_palette')
    ->setConfig('default_value', 'green-500')
    ->setConfig('allowed_colors', ['green-500', 'blue-500'])
    ->setConfig('exclude_colors', ['green-50', 'green-100'])
    ->setConfig('return_format', 'slug');

Bug Reports

If you discover a bug in ACF Editor Palette, please open an issue.

Contributing

Contributing whether it be through PRs, reporting an issue, or suggesting an idea is encouraged and appreciated.

License

ACF Editor Palette is provided under the MIT License.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].