pantheon-systems / decoupled-kit-acf
Adds examples related to using advanced custom fields on a decoupled WordPress site.
Installs: 4 914
Dependents: 1
Suggesters: 0
Security: 0
Stars: 2
Watchers: 7
Forks: 2
Open Issues: 1
Type:wordpress-plugin
Requires
- wp-graphql/wp-graphql-acf: ^0.6.1
- wpackagist-plugin/advanced-custom-fields: ^6.0
Requires (Dev)
README
Adds examples related to using advanced custom fields on a decoupled WordPress site.
Features
- Enables the Advanced Custom Fields plugin.
- Adds a 'related content' field group to posts.
- Creates an example post with associated related content.
- Exposes the related content field group to GraphQL via the wp-graphql-acf plugin.
Installation
To install Decoupled Kit ACF, follow these steps:
- Require the plugin using composer:
composer require pantheon-systems/decoupled-kit-acf
- Activate the plugin.
Configuration
This plugin does not expose any configuration options and is not visible/editable via the “Edit Field Groups” admin page De-activating the plugin will disable the 'related content' field group.
Linting
This plugin uses Composer to manage dependencies. To install dependencies, run composer install
from the plugin directory.
Linting is done with PHP_CodeSniffer using the Pantheon WP Coding Standards ruleset. To run the linting checks, use the following command:
composer lint