Skip to content

Installation

JIX edited this page Jul 14, 2020 · 1 revision

As a standard WordPress Plugin

The free version of Ultimate Fields is available as a WordPress.org plugin. This means that you can install Ultimate Fields as you would install any other plugin. Just look for "Ultimate Fields" and you will find it.

If you are experiencing issues while installing the plugin, please read the Managing Plugins article at WordPress.org

Through Composer

If you are using Composer as your dependency manager, you can also install Ultimate Fields through it. As any other WordPress plugin, Ultimate Fields is available through WordPress Packagist.

First, in your composer.json file, make sure that you have WordPress Packagist listed as a repository:

{
    "repositories":[
            {
                "type":"composer",
                "url":"https://wpackagist.org"
            }
        ]
    ]
}

Then, in the root of your project, execute the following command:

composer require wpackagist-plugin/ultimate-fields

As a plugin

If you have already defined that packages of the wp-plugin type should be installed within wp-content/plugins, your job is almost done. Ultimate Fields will be installed as a standard plugin and you may go to your dashboard and activate it.

As a standard package

If you have included Ultimate Fields within another plugin or a theme, you will need to manually boot it like this:

<?php
require __DIR__ . '/vendor/autoload.php';

// Boot the full plugin
Ultimate_Fields\Composer::boot();

// Boot the plugin without the administration interface
Ultimate_Fields\Composer::boot( $ui = false );
Clone this wiki locally