Title: OneMeta &#8211; Custom Meta Fields
Author: Faruk Ahmed
Published: <strong>4 de juliol de 2026</strong>
Last modified: 4 de juliol de 2026

---

Cerca extensions

![](https://ps.w.org/onemeta/assets/banner-772x250.png?rev=3595954)

![](https://ps.w.org/onemeta/assets/icon.svg?rev=3595954)

# OneMeta – Custom Meta Fields

 Per [Faruk Ahmed](https://profiles.wordpress.org/farukahmed/)

[Baixa](https://downloads.wordpress.org/plugin/onemeta.1.0.0.zip)

 * [Detalls](https://ca.wordpress.org/plugins/onemeta/#description)
 * [Ressenyes](https://ca.wordpress.org/plugins/onemeta/#reviews)
 *  [Instal·lació](https://ca.wordpress.org/plugins/onemeta/#installation)
 * [Desenvolupament](https://ca.wordpress.org/plugins/onemeta/#developers)

 [Suport](https://wordpress.org/support/plugin/onemeta/)

## Descripció

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

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

 * [GitHub Repository](https://github.com/fronttheme/onemeta)
 * [Documentation](https://fronttheme.com/docs/onemeta/)
 * [FrontTheme](https://fronttheme.com)

#### 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`.

## Captures

[⌊The OneMeta field group builder with drag-and-drop interface⌉⌊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⌉[

Live PHP code preview panel while building fields

[⌊Field type palette sidebar⌉⌊Field type palette sidebar⌉[

Field type palette sidebar

[⌊Field group dashboard listing all groups⌉⌊Field group dashboard listing all groups⌉[

Field group dashboard listing all groups

[⌊Documentation page with field types reference⌉⌊Documentation page with field types
reference⌉[

Documentation page with field types reference

[[

[[

[[

## Instal·lació

 1. Upload the `onemeta` folder to `/wp-content/plugins/`
 2. Activate the plugin from the **Plugins** menu in WordPress
 3. Go to **OneMeta  Add New** to create your first field group

**Or install via WordPress admin:**

 1. Go to **Plugins  Add New**
 2. Search for **OneMeta**
 3. Click **Install Now** and then **Activate**

## PMF

### Is OneMeta free?

Yes, OneMeta is 100% free and open-source, licensed under GPL-2.0-or-later.

### Is OneMeta a replacement for ACF?

OneMeta covers the most commonly used features of ACF — 14 field types, repeaters,
conditional logic, and REST API support — all for free. It is designed to be lightweight
and modern.

### Can I use OneMeta fields without the plugin installed?

Yes! Use the Export PHP feature to export your field group as PHP code. You can 
then register fields directly from your theme or plugin without OneMeta installed.

### What field types are supported?

Text, Textarea, URL, Email, Date, Toggle, Select, Checkbox, Radio, Button Group,
Image, File, Gallery, and Repeater — 14 field types in total.

### Does OneMeta support user profile fields?

Yes. When creating a field group, select **User Meta** as the type to add fields
to user profiles.

### Does OneMeta work with the REST API?

Yes. Field data is accessible via the WordPress REST API on post and user endpoints.

### What are the minimum requirements?

WordPress 6.8 or higher and PHP 8.2 or higher.

### How do I get a field value in my theme?

Use the `onemeta_get_meta()` function for post fields and `onemeta_get_user_meta()`
for user fields:

    ```
    $value = onemeta_get_meta( get_the_ID(), 'your_field_key' );
    ```

Do not include the `onemeta_` prefix — it is added automatically.

## Ressenyes

No hi ha ressenyes per a aquesta extensió.

## Col·laboradors i desenvolupadors

«OneMeta – Custom Meta Fields» és programari de codi obert. La següent gent ha col·laborat
en aquesta extensió.

Col·laboradors

 *   [ Faruk Ahmed ](https://profiles.wordpress.org/farukahmed/)

[Traduïu «OneMeta – Custom Meta Fields» a la vostra llengua.](https://translate.wordpress.org/projects/wp-plugins/onemeta)

### Interessats en el desenvolupament?

[Navegueu pel codi](https://plugins.trac.wordpress.org/browser/onemeta/), baixeu-
vos el [repositori SVN](https://plugins.svn.wordpress.org/onemeta/), o subscriviu-
vos al [registre de desenvolupament](https://plugins.trac.wordpress.org/log/onemeta/)
per [fisl de subscripció RSS](https://plugins.trac.wordpress.org/log/onemeta/?limit=100&mode=stop_on_copy&format=rss).

## Registre de canvis

#### 1.0.0

 * Initial release
 * 14 field types: Text, Textarea, URL, Email, Date, Toggle, Select, Checkbox, Radio,
   Button Group, Image, File, Gallery, Repeater
 * Visual drag-and-drop builder
 * Live PHP code preview
 * Export fields as PHP code
 * Repeater fields with sub-fields
 * Conditional logic with AND/OR rules and 4 operators
 * REST API support
 * Post/page meta and user meta support
 * PSR-4 autoloaded PHP architecture

## Meta

 *  Versió **1.0.0**
 *  Darrera actualització **fa 2 dies**
 *  Instal·lacions actives **Menys de 10**
 *  Versió del WordPress ** 6.8 o posterior **
 *  Provada fins a **7.0**
 *  Versió del PHP ** 8.2 o posterior **
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/onemeta/)
 * Etiquetes
 * [custom fields](https://ca.wordpress.org/plugins/tags/custom-fields/)[field builder](https://ca.wordpress.org/plugins/tags/field-builder/)
   [meta fields](https://ca.wordpress.org/plugins/tags/meta-fields/)[repeater](https://ca.wordpress.org/plugins/tags/repeater/)
 *  [Vista avançada](https://ca.wordpress.org/plugins/onemeta/advanced/)

## Valoracions

Encara no s'ha enviat cap ressenya.

[Your review](https://wordpress.org/support/plugin/onemeta/reviews/#new-post)

[Visualitzeu totes les ressenyes](https://wordpress.org/support/plugin/onemeta/reviews/)

## Col·laboradors

 *   [ Faruk Ahmed ](https://profiles.wordpress.org/farukahmed/)

## Suport

Teniu quelcom a dir? Necessiteu ajuda?

 [Visualitza els fòrums de suport](https://wordpress.org/support/plugin/onemeta/)