Skip to content

Installation Guide

Wapiclo edited this page Dec 4, 2025 · 1 revision

Wapic Fields can be installed in three different ways depending on your project needs.

Method 1: Via Composer (Recommended)

Install Wapic Fields using Composer for easy dependency management:

composer require wapiclo/wapic-fields

This is the recommended method as it allows for easy updates and version management.

Method 2: As a WordPress Plugin

  1. Download the installable WordPress plugin: wapic-fields.zip
  2. Go to WordPress Admin → Plugins → Add New
  3. Click Upload Plugin and select the downloaded zip file
  4. Click Install Now and then Activate
  5. After activation, you can start configuring your custom fields

Method 3: Include in Theme or Plugin

If you want to bundle Wapic Fields directly with your theme or plugin:

  1. Download the source code: wapic-fields.zip
  2. Extract the zip file
  3. Copy the wapic-fields folder to your theme or plugin directory
  4. Include the wapic-fields.php file in your theme's functions.php or plugin's main file

Example Directory Structure

your-theme-or-plugin/
├── wapic-fields/
│   └── wapic-fields.php
└── functions.php

Include in functions.php

Add this code to your theme's functions.php or plugin's main file:

if ( file_exists( __DIR__ . '/wapic-fields/wapic-fields.php' ) ) {
    require_once __DIR__ . '/wapic-fields/wapic-fields.php';
}

Next Steps

After installation, you can start using Wapic Fields in:

Check out the Field Types documentation to see all available field types.

Clone this wiki locally