Skip to content

Lightweight WordPress framework for creating Theme/Plugin Options, Meta Fields, and Taxonomy Fields. Simple, flexible, and developer-friendly.

License

Notifications You must be signed in to change notification settings

wapiclo/wapic-fields

Repository files navigation

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:

  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 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:

For Usage

Here are examples to help you get started:

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');

Changelog

Changelog

About

Lightweight WordPress framework for creating Theme/Plugin Options, Meta Fields, and Taxonomy Fields. Simple, flexible, and developer-friendly.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published