pantheon-systems/decoupled-kit-acf

Adds examples related to using advanced custom fields on a decoupled WordPress site.

Installs: 4 969

Dependents: 1

Suggesters: 0

Security: 0

Stars: 2

Watchers: 7

Forks: 2

Open Issues: 1

Type:wordpress-plugin

1.0.0 2023-03-29 17:34 UTC

This package is auto-updated.

Last update: 2024-11-12 23:53:59 UTC


README

Actively Maintained GPL 2.0 License

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