wapiclo / wapic-fields
A lightweight and developer-friendly custom fields system for WordPress. Supports Options Page, Post Meta, and Taxonomy Term Meta.
Installs: 2
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
Type:wordpress-plugin
Requires
- php: >=8.2
- yahnis-elsts/plugin-update-checker: ^5.6
This package is auto-updated.
Last update: 2025-09-05 02:49:50 UTC
README
A lightweight and developer-friendly custom fields system for WordPress.
Supports Options Page, 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 JS validation.
Features
- Lightweight & Simple – no bloat, just clean custom fields.
- Flexible – works with post meta, options page, and term meta.
- Conditional Fields – show, hide, enable, or disable fields dynamically.
- Built-in JS Validation – user-friendly client-side validation.
- WordPress Standards – fully compatible and extendable with WP core functions.
Supported Fields
Wapic Fields provides the following field types for WordPress. This list is for quick reference:
- Text – Single-line text input
- Textarea – Multi-line text input
- URL – URL input with validation
- Email – Email input with validation
- Number – Numeric input
- Phone – Phone number input
- Checkbox – Single or multiple checkboxes
- Radio – Single choice selection
- Toggle – On/off switch
- Select – Dropdown select
- Select2 – Enhanced select with search & multiple selection
- Image – Single image upload
- Gallery – Multiple images upload
- File – File upload
- Color – Color picker
- Date – Date picker
- WP Editor – WordPress rich text editor
Why Use This?
Unlike bulky frameworks, this project focuses on being:
- Fast → lightweight and minimal.
- Native → built the WordPress way.
- 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:
- Instalasion via composer (recommended)
composer require wapiclo/wapic-fields
- As a WordPress Plugin Installation instructions
- Include via File Include instructions
For Usage
Here are examples to help you get started:
- Options Example: Usage Example
- Metabox Example: Usage Example
- Taxonomy Example: Usage Example
Field
You can use various field types provided by Wapic Fields: Field Types Documentation
Example
We provide 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 main theme or plugin file:
add_filter('wapic_fields_load_examples', '__return_true');