Title: Codeideal Open Fields
Author: shayancode
Published: <strong>2026年2月24日</strong>
Last modified: 2026年2月24日

---

搜尋外掛

![](https://ps.w.org/codeideal-open-fields/assets/banner-772x250.png?rev=3468533)

![](https://ps.w.org/codeideal-open-fields/assets/icon-256x256.gif?rev=3468903)

# Codeideal Open Fields

 由[shayancode](https://profiles.wordpress.org/shayancode/)

[下載](https://downloads.wordpress.org/plugin/codeideal-open-fields.0.4.2.zip)

 * [詳情](https://zh-hk.wordpress.org/plugins/codeideal-open-fields/#description)
 * [評價](https://zh-hk.wordpress.org/plugins/codeideal-open-fields/#reviews)
 *  [安裝](https://zh-hk.wordpress.org/plugins/codeideal-open-fields/#installation)
 * [開發](https://zh-hk.wordpress.org/plugins/codeideal-open-fields/#developers)

 [支援](https://wordpress.org/support/plugin/codeideal-open-fields/)

## 描述

**Codeideal Open Fields** lets you add custom fields to posts, pages, custom post
types, taxonomies, and users. The admin interface is built with React and TypeScript—
fast, responsive, and intuitive.

All features are free. No premium tier. No locked functionality.

#### Quick Start

    ```
    get_field( 'my_field' ) — retrieve any field value.

    the_field( 'my_field' ) — echo a field value directly.
    ```

#### Template Examples

**Simple field:**

    ```
    <?php echo esc_html( get_field( 'subtitle' ) ); ?>
    ```

**Repeater loop:**

    ```
    <?php while ( have_rows( 'team_members' ) ) : the_row(); ?>
        <h3><?php the_sub_field( 'name' ); ?></h3>
        <p><?php the_sub_field( 'role' ); ?></p>
    <?php endwhile; ?>
    ```

**User field (with prefix):**

    ```
    <?php echo esc_html( get_field( 'company', 'user_' . $user_id ) ); ?>
    ```

Full API reference and guides: [openfields.codeideal.com/docs](https://openfields.codeideal.com/docs)

#### ACF-Compatible API

If you know ACF, you already know Open Fields. The template API uses the same function
names:

 * `get_field()` / `the_field()`
 * `get_fields()` / `update_field()` / `delete_field()`
 * `have_rows()` / `the_row()` / `get_sub_field()` / `the_sub_field()`
 * `get_row()` / `get_rows()` / `reset_rows()` / `get_row_index()`
 * `get_field_object()` / `get_sub_field_object()`

When ACF is also active, these wrappers are not loaded — no conflicts. Both plugins
store data as standard WordPress meta, so they can coexist.

Every function also has a prefixed version (e.g. `cofld_get_field()`) that is always
available regardless of other plugins.

#### Field Types

 * **Basic:** Text, Textarea, Number, Email, URL, Password
 * **Choice:** Select, Checkbox, Radio, Switch
 * **Date & Time:** Date, Time, DateTime, Color Picker
 * **Media:** Image, File, Gallery
 * **Content:** WYSIWYG Editor, Link
 * **Relational:** Post Object, Taxonomy, User
 * **Layout:** Repeater, Group

#### Location Rules

Assign field groups to:

 * Post types (including custom post types)
 * Page templates
 * Post status / format / category
 * Taxonomy terms
 * User roles

#### Source Code

The admin JS and CSS are compiled from TypeScript/React source. All other files 
are uncompressed.

 * **Source repo:** [github.com/novincode/openfields](https://github.com/novincode/openfields)
 * **Admin source:** [admin/src/](https://github.com/novincode/openfields/tree/main/admin/src)
 * **Build:** `pnpm install && pnpm build` (Vite + TypeScript)

## 螢幕截圖

 * [[
 * Field group editor — visual drag-and-drop builder
 * [[
 * Field configuration — detailed settings for each field
 * [[
 * Location rules — control where fields appear
 * [[
 * Easy to use — clean, modern interface

## Blocks

This plugin provides 1 block.

 *   Open Fields

## 安裝

 1. Go to **Plugins  Add New** in your WordPress admin
 2. Search for **“Codeideal Open Fields”**
 3. Click **Install Now**, then **Activate**
 4. Go to **Open Fields** in the admin menu to create your first field group

Or install manually:

 1. Download from [WordPress.org](https://wordpress.org/plugins/codeideal-open-fields/)
    or [GitHub Releases](https://github.com/novincode/openfields/releases)
 2. Upload the `codeideal-open-fields` folder to `/wp-content/plugins/`
 3. Activate through the Plugins menu

## 常見問題

### Is this really 100% free?

Yes. Every feature is free. No premium version, no upsells, no locked fields.

### Can I use this alongside ACF?

Yes. Both plugins store data as standard WordPress post meta. When ACF is active,
Open Fields does not redefine ACF’s functions — there are no conflicts.

### How do I get field values in my theme?

Use `get_field( 'field_name' )` or the prefixed `cofld_get_field( 'field_name' )`.
Works exactly like you’d expect.

### Does it work with custom post types?

Yes. Any public or private post type registered in WordPress.

### What about page builders?

Standard WordPress meta is used, so Elementor, Bricks, Beaver Builder, and others
can read the data via their dynamic data features.

## 評價

There are no reviews for this plugin.

## 貢獻者及開發者

“Codeideal Open Fields” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

 *   [ shayancode ](https://profiles.wordpress.org/shayancode/)

[將 Codeideal Open Fields 外掛本地化為台灣繁體中文版。](https://translate.wordpress.org/projects/wp-plugins/codeideal-open-fields)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/codeideal-open-fields/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/codeideal-open-fields/)，或透過
[RSS](https://plugins.trac.wordpress.org/log/codeideal-open-fields/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/codeideal-open-fields/)。

## 修改日誌

#### 0.4.1

 * Added: Full internationalization (i18n) support — all admin UI strings are now
   translatable
 * Added: RTL (right-to-left) language support — admin interface works correctly
   in RTL languages like Arabic, Hebrew, and Farsi
 * Added: Translation-ready React admin, Gutenberg block, and relational fields
 * Fixed: Block editor strings now use the correct text domain
 * Fixed: wp_set_script_translations() for all JavaScript handles
 * Improved: Logical CSS properties for direction-neutral styling

#### 0.4.0

 * Fixed: Duplicate Gutenberg block (cofld/field vs openfields/field) — now registers
   a single “Open Fields” block
 * Updated: Tested with WordPress 6.9.1
 * Improved: Plugin page with screenshots, banner, and icon on WordPress.org
 * Improved: readme.txt rewritten for clarity with code examples and docs links

#### 0.3.0

 * Security: REST API endpoints now require proper capabilities
 * Security: Added capability check to taxonomy save handler
 * Security: All output properly escaped
 * Changed: Plugin prefix renamed from cof to cofld (5+ chars per WordPress.org 
   guidelines)

#### 0.2

 * Fixed: Dynamic page template options, template matching, field saving, admin 
   loading
 * Added: Post category/format location rules, activation redirect, switch renderer

#### 0.1.0

 * Initial release

## 其它

 *  Version **0.4.2**
 *  Last updated **2 個月之前**
 *  Active installations **30+**
 *  WordPress version ** 6.0 or higher **
 *  Tested up to **6.9.4**
 *  PHP version ** 7.4 or higher **
 *  Language
 * [English (US)](https://wordpress.org/plugins/codeideal-open-fields/)
 * Tags
 * [custom fields](https://zh-hk.wordpress.org/plugins/tags/custom-fields/)[Custom Meta](https://zh-hk.wordpress.org/plugins/tags/custom-meta/)
   [field builder](https://zh-hk.wordpress.org/plugins/tags/field-builder/)[meta fields](https://zh-hk.wordpress.org/plugins/tags/meta-fields/)
   [post meta](https://zh-hk.wordpress.org/plugins/tags/post-meta/)
 *  [進階顯示](https://zh-hk.wordpress.org/plugins/codeideal-open-fields/advanced/)

## 評分

No reviews have been submitted yet.

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

[See all reviews](https://wordpress.org/support/plugin/codeideal-open-fields/reviews/)

## 貢獻者

 *   [ shayancode ](https://profiles.wordpress.org/shayancode/)

## 支援

有話想說？需要協助？

 [檢視支援論壇](https://wordpress.org/support/plugin/codeideal-open-fields/)

## 捐贈

想要支援這個外掛的發展嗎？

 [ 贊助這個外掛 ](https://openfields.codeideal.com/support)