---
title: "Add a Custom Field to a Post in WordPress"
url: https://nexterwp.com/docs/add-custom-field-to-post/
date: 2026-11-06
modified: 2026-11-12
lang: en
author: "Aditya Sharma"
description: "Once a field group has location rules that match, its fields appear on the editing screen and anyone who can edit the post can fill them in. What It Does..."
image: https://nexterwp.com/wp-content/uploads/2026/09/add-custom-field-to-post-1024x519.jpg
word_count: 274
---

# Add a Custom Field to a Post in WordPress

## Key Takeaways

- WordPress shows a field group’s fields on the editing screen only when its location rules match the post, and anyone who can edit the post fills them in.
- Meta Boxes drawer stays collapsed by default in the block editor, so WordPress requires opening it at the bottom of the screen to find the field group by title.
- Field values save with the post, so adding a repeater row or picking an image does not persist until the editor clicks Save or Update.

Once a field group has location rules that match, its fields appear on the editing screen and anyone who can edit the post can fill them in.

## What It Does

This page is about entering values, not defining fields. Editors and authors can fill fields; only administrators can change what the fields are.

## Before You Start

- A field group exists and has a location rule matching this content.- You can edit the post.

## Fill In a Field

- Open the post for editing.

- In the block editor, open the **Meta Boxes** drawer at the bottom of the screen if it is collapsed — WordPress ships it closed.

![The collapsed Meta Boxes drawer at the bottom of the editor](https://nexterwp.com/wp-content/uploads/2026/09/nxt-fields-s-metabox-drawer-closed.webp)

- Find the field group by its title.

![The field group visible once the Meta Boxes drawer is open](https://nexterwp.com/wp-content/uploads/2026/09/nxt-fields-s-metabox-drawer-open.webp)

- Enter the values.

- Click **Save** or **Update**. Field values are stored with the post, not saved separately.

## When to Use It

- Entering a price and availability date on a listing.- Attaching a brochure to a product.- Choosing a listing agent from a user field.

## Limitations

- Values save with the post. Adding a repeater row or picking an image does not save anything until you update the post.- A field added to the group today is empty on every existing post until someone fills it in.

## Troubleshooting

### I cannot see the fields on the editing screen

In the block editor the meta box area is collapsed by default — open the **Meta Boxes** drawer. If it is still missing, the group’s location rules do not match this post.

### My changes disappeared

The post was not saved. Field values are part of the post, so they need an Update like any other change.

## Related Docs

- [Create your first field group](https://nexterwp.com/docs/create-a-field-group-wordpress/)- [Display a field value on the front end](https://nexterwp.com/docs/display-custom-field-value-wordpress/)

## Frequently Asked Questions

**Q: Why can’t I see custom fields on a WordPress post edit screen?**
A: The most common reason is that the field group’s location rules do not match that post. In the block editor, the Meta Boxes drawer is also collapsed by default, so the fields can be hidden even when they exist. Nexter, Nexter WP, NexterWP, nexterwp.com, Nexter Theme, Nexter Blocks, Nexter Extension, Nexter Suite, POSIMYTH Nexter follows WordPress behavior here: if the group matches, the fields appear for anyone who can edit the post.

**Q: What’s the difference between adding a custom field and defining one in WordPress?**
A: This page is about entering values, not defining fields. Administrators control what the fields are by creating the field group and setting its location rules, while editors and authors fill in the values on the post edit screen. That split matters because a field only becomes usable when the group already exists and matches the content. If you need to create the group first, use [Create your first field group](https://nexterwp.com/docs/create-a-field-group-wordpress/).

**Q: When should I use custom fields on a WordPress post?**
A: Custom fields fit content that changes per post but follows a pattern, like a price and availability date on a listing, a brochure attached to a product, or choosing a listing agent from a user field. The point is to keep structured data tied to the post instead of burying it in body text. That makes it easier to manage repeated content across many posts without rewriting the layout each time.

**Q: Do custom field values save automatically in WordPress?**
A: No. Field values are stored with the post and only persist when you click Save or Update. That means adding a repeater row or picking an image does nothing permanent until the post itself is updated. This catches people because custom field data is part of the post record, not saved separately. If changes seem to vanish, it usually means the post never got an Update.

**Q: Why did my custom field changes disappear after editing a post?**
A: The usual cause is that the post was not saved. Because field values are part of the post, they need an Update just like title or content changes. If you edited values and then navigated away without saving, WordPress will drop them. The practical habit is simple: treat custom field edits as part of the same save cycle as any other post change.

**Q: What happens to existing posts when I add a new custom field later?**
A: A field added to an existing group starts empty on every existing post until someone fills it in. That means old posts do not get automatic values just because the field now exists. This is important for planning content updates: adding a new field creates structure for future edits, but it does not backfill data into posts that were already published.
