Skip to content

Fieldify documentation

Fieldify is a PHP library that makes it easy to create custom meta boxes, blocks, and plugin settings in WordPress. It provides a simple and intuitive API that allows you to define fields and render them in the WordPress admin interface, without needing React or a build step.

Installation

Fieldify is available as a Composer package. You can install it in your plugin or theme by following these steps:

  1. Require the package with Composer:

    composer require fieldify/fields
  2. Require the Composer autoloader in your plugin or theme:

    require_once __DIR__ . 'vendor/autoload.php';
  3. Create a new instance and pass in the path to the main plugin or theme file:

    Fieldify::register( __FILE__ );

Now you can start using Fieldify functions in your plugin or theme!

Here are some quick links to get you started with Fieldify:

Meta boxes

Learn how to create custom meta boxes with Fieldify.

Learn more →

SSR Blocks

Learn how to create custom blocks with Fieldify.

Learn more →

Plugin settings

Learn how to create custom plugin settings with Fieldify.

Learn more →

Utility functions

Learn about the utility functions provided by Fieldify.

Learn more →

Requirements

Fieldify has a few basic requirements that must be met in order to run properly. These requirements are:

  • PHP 7.4 or higher
  • WordPress 6.4 or higher