-
Notifications
You must be signed in to change notification settings - Fork 0
Home
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.
- 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
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
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.
There are multiple ways to install Wapic Fields:
composer require wapiclo/wapic-fieldsView installation instructions
Here are examples to help you get started:
- Options Page Example: View Documentation
- Metabox Example: View Documentation
- Taxonomy Example: View Documentation
You can use various field types provided by Wapic Fields:
View Field Types Documentation
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);