What is OneMeta?
OneMeta is a free, open-source WordPress plugin for creating and managing custom meta fields. It gives you a visual drag-and-drop builder, 14 field types, repeater fields, conditional logic, live PHP code preview, and a full REST API — all in a single plugin that weighs just 342KB.
It is designed as a modern, lightweight alternative to plugins like ACF (Advanced Custom Fields), with no premium tiers, no license keys, and no external dependencies.
What Can It Do?
Visual Field Builder: Build field groups using a drag-and-drop interface directly in your WordPress admin. Add fields, configure labels, keys, descriptions, placeholders, and advanced options — all without writing any code.
14 Field Types: OneMeta ships with 14 carefully chosen field types covering every common use case — from simple text inputs to media uploads, choice fields, and repeatable row groups.
Post Meta and User Meta: Assign field groups to any public WordPress post type — posts, pages, or custom post types — or switch to User Meta mode to add custom fields to WordPress user profile pages.
Live PHP Code Preview: As you build your field group, a live preview panel shows the exact PHP code that will be generated. You can copy or download this code at any time.
Export as PHP: Export any field group as a clean PHP file and use it in your theme or plugin without OneMeta installed. This is particularly useful for ThemeForest themes and client projects.
Repeater Fields: Create repeatable row groups — team members, portfolio items, FAQs — with any combination of sub-fields per row.
Conditional Logic: Show or hide fields dynamically based on the value of other fields. Combine multiple rules using AND or OR logic, with four operators: ==, !=, contains, and !contains.
REST API: A full REST API under the onemeta/v1 namespace provides CRUD endpoints for all field group operations.
What’s in the Plugin?
| Component | Description |
|---|---|
| Visual Builder | Drag-and-drop field group editor with live PHP preview |
| 14 Field Types | Text, Textarea, URL, Email, Date, Toggle, Select, Checkbox, Radio, Button Group, Image, File, Gallery, Repeater |
| Helper Functions | onemeta_get_meta(), onemeta_update_meta(), onemeta_delete_meta() and user meta equivalents |
| REST API | Full CRUD under onemeta/v1 namespace |
| Export | PHP file export via onemeta_field_groups filter |
| Dashboard | Stats overview with field group management |
Requirements
| Requirement | Version |
|---|---|
| WordPress | 6.8 or higher |
| PHP | 8.2 or higher |
License
OneMeta is released under the GPL-2.0-or-later license — the same license as WordPress itself. You are free to use, modify, and distribute it in personal, client, and commercial projects at no cost.
See the full license on GitHub.