跳到内容

OneMeta – Custom Meta Fields

v1.0.1

Faruk Ahmed · 2026年7月4日 上架

Build powerful custom fields with a visual drag-and-drop builder. Free, lightweight, and a modern alternative to ACF.

正在使用
10 以下
评分
暂无
累计下载
417
最近更新
2026年11月13日
需要 WordPress 6.8+已测试到 7.1.5PHP 8.2+

贡献者

截图

The OneMeta field group builder with drag-and-drop interface
The OneMeta field group builder with drag-and-drop interface
Live PHP code preview panel while building fields
Live PHP code preview panel while building fields
Field type palette sidebar
Field type palette sidebar
Field group dashboard listing all groups
Field group dashboard listing all groups
Documentation page with field types reference
Documentation page with field types reference
Export field groups
Export field groups
Helper functions
Helper functions
Field return types, conditional logic
Field return types, conditional logic

OneMeta is a free, open-source WordPress plugin for creating and managing custom meta fields — without the complexity or cost of premium alternatives.

Whether you need simple text fields or advanced repeater groups with conditional logic, OneMeta gives you a clean visual builder and clean PHP output.

✨ Key Features

  • Visual Drag & Drop Builder — Build field groups with a beautiful, intuitive interface
  • Live PHP Code Preview — See your generated PHP code update in real time as you build
  • Export as PHP Code — Export field groups to use in your theme or plugin without OneMeta installed
  • Repeater Fields — Create repeatable sub-field groups for complex data
  • Conditional Logic — Show or hide fields based on the value of other fields, with AND/OR rule combinations
  • REST API Support — Access field data via the WordPress REST API
  • Nothing Added to Your Live Site — Field values render as plain PHP with zero extra scripts; jQuery (already bundled with WordPress) powers the Media Uploader and repeater drag-reordering inside the editor only
  • 14 Field Types — Everything you need, nothing you don’t
  • Modern UI — Clean, polished admin interface

🧩 Field Types

Layout: Heading (display only — shows a heading and optional separator, stores no value)

Basic: Text, Textarea, URL, Email, Date

Choice: Toggle, Select, Radio, Button Group

Multiple: Checkbox

Media: Image, File, Gallery

Advanced: Repeater

📖 Helper Functions

Use simple helper functions to retrieve field values in your theme:

$value = onemeta_get_meta( get_the_ID(), 'field_key' );

$value = onemeta_get_user_meta( $user_id, 'field_key' );

🔀 Conditional Logic

Show or hide fields dynamically based on the value of other fields, combining multiple rules with AND/OR. Supports ==, !=, contains, and !contains operators.

📤 Export as PHP

Export any field group as clean PHP code to bundle with your theme or plugin — no dependency on OneMeta required.

🔗 Links

Source Code

OneMeta’s distributed JavaScript and CSS are built from human-readable source using Vite. The complete, uncompiled source — all JavaScript, SCSS, and build configuration — is publicly available at:

https://github.com/fronttheme/onemeta

The /src directory contains all uncompiled source files. To build from source: npm install then npm run build.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums