Skip to content
Wapiclo edited this page Dec 4, 2025 · 12 revisions

Wapic Fields

A lightweight and developer-friendly custom fields system for WordPress.
Supports Options Pages, Post Meta, and Taxonomy Term Meta — built following WordPress standards, without heavy frameworks.

Easily add and manage fields like text, select, checkbox, image, gallery, editor, and more with full support for conditional logic and client-side JavaScript validation.

Features

  • Lightweight & Simple – No bloat, just clean custom fields
  • Flexible – Works seamlessly with post meta, options pages, and term meta
  • Conditional Fields – Show, hide, enable, or disable fields dynamically based on other field values
  • Built-in JS Validation – User-friendly client-side validation for better UX
  • WordPress Standards – Fully compatible and extendable with WordPress core functions

Supported Field Types

Wapic Fields provides the following field types for WordPress. This list is for quick reference:

  1. Text – Single-line text input
  2. Textarea – Multi-line text input
  3. URL – URL input with validation
  4. Email – Email input with validation
  5. Number – Numeric input
  6. Phone – Phone number input
  7. Checkbox – Single or multiple checkboxes
  8. Radio – Single choice selection
  9. Toggle – On/off switch
  10. Select – Dropdown select
  11. Select2 – Enhanced select with search & multiple selection
  12. Image – Single image upload
  13. Gallery – Multiple images upload
  14. File – File upload
  15. Color – Color picker
  16. Date – Date picker
  17. WP Editor – WordPress rich text editor

Why Use Wapic Fields?

Unlike bulky frameworks, this project focuses on being:

  • Fast → Lightweight and minimal footprint
  • Native → Built the WordPress way, following best practices
  • Flexible → Easily extendable by developers

Perfect for theme & plugin developers who want powerful custom fields without unnecessary overhead.

Installation

There are multiple ways to install Wapic Fields:

Via Composer (Recommended)

composer require wapiclo/wapic-fields

As a WordPress Plugin

View installation instructions

Include via File

View include instructions

Usage Examples

Here are examples to help you get started:

Field Types Documentation

You can use various field types provided by Wapic Fields:
View Field Types Documentation

Loading Examples

We provide complete examples for Meta, Options, and Term Meta. The example files are included in the Examples/ folder.

To load the examples in the WordPress admin, add the following code to your theme's functions.php, plugin file, or wp-config.php:

define('WAPIC_FIELDS_LOAD_EXAMPLES', true);

Documentation

Clone this wiki locally