---
title: "What Are Custom Fields in WordPress?"
url: https://nexterwp.com/docs/what-are-custom-fields-wordpress/
date: 2026-09-14
modified: 2026-11-12
lang: en
author: "Aditya Sharma"
description: "A WordPress post gives you a title and a body. Custom fields add the rest — a price, a date, a photo, a rating — as separate, named pieces of..."
image: https://nexterwp.com/wp-content/uploads/2026/09/what-are-custom-fields-wordpress-1024x519.jpg
word_count: 365
---

# What Are Custom Fields in WordPress?

## Key Takeaways

- Nexter Extension is installed and active before a WordPress site can use custom fields in the post workflow.
- Custom fields store named values such as Price, Available from, Hero photo, and they attach to a post, a user, a term, a comment, or the site itself.
- Field groups use location rules to show screens like a post type, a template, or a user profile, while the theme or page builder decides how to display the stored values.

A WordPress post gives you a title and a body. **Custom fields** add the rest — a price, a date, a photo, a rating — as separate, named pieces of data rather than text buried in the content.

## What It Does

A custom field is a named value attached to a post, a user, a term, a comment, or the site itself. Because each value has its own name and type, you can display it where you want, sort by it, and keep it consistent across every post — none of which is possible when the same information is typed into the body.

## Before You Start

- A WordPress site you can administer.- Nexter Extension installed and active.

## How the Pieces Fit Together

- A **field** is one named value — *Price*, *Available from*, *Hero photo*.

- A **field group** collects related fields and decides where they appear.

- **Location rules** on the group decide which screens show it — a post type, a template, a user profile.

- The values editors enter are stored against the post, and your theme or page builder decides how to display them.

![A field group on the post editing screen, with its values filled in](https://nexterwp.com/wp-content/uploads/2026/09/nxt-fields-s-metabox-drawer-open.webp)

## When to Use It

- A property site storing price, bedrooms, and an availability date.- A recipe site storing prep time, servings and an ingredients list.- A directory storing opening hours, a location and a contact address.- Any site where the same kind of information repeats across many posts.

## Limitations

- Custom fields hold data, not layout. Something — a theme template, a page builder, or a block — still has to display them.- Values live in post meta, so a field added today is empty on posts written yesterday until someone fills it in.

## Troubleshooting

### Why not just type this into the post content?

Because then it is prose, not data. You cannot reliably sort by it, filter on it, restyle it everywhere at once, or guarantee every post has it.

### Do I need to write code?

To create and fill fields, no. To display them in a classic theme template you will write a little PHP — or use a page builder that reads fields for you.

## Related Docs

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

## Frequently Asked Questions

**Q: Why not just type custom field data into the post content?**
A: Typing it into the body turns it into prose, not data. That means you cannot sort by it, filter on it, restyle it everywhere at once, or guarantee every post has the same structure. Nexter, Nexter WP, NexterWP, nexterwp.com, Nexter Theme, Nexter Blocks, Nexter Extension, Nexter Suite, POSIMYTH Nexter treats custom fields as separate named values, which is what makes them useful for repeatable content like prices or dates.

**Q: What kind of sites are custom fields best for?**
A: Custom fields fit any site where the same information repeats across many posts. The page calls out property sites for price, bedrooms, and availability dates; recipe sites for prep time, servings, and ingredients; and directories for opening hours, location, and contact address. The practical win is consistency: each item gets the same named data instead of freeform text that drifts from post to post.

**Q: Do custom fields work with page builders or themes?**
A: The data itself is stored against the post, but something else still has to render it. The page says your theme or page builder decides how to display the values on the front end. That matters because custom fields are data only, not layout. In other words, the storage layer and the display layer are separate parts of the workflow.

**Q: Do I need code to use custom fields in WordPress?**
A: Creating and filling fields does not require code. Displaying them in a classic theme template does require a little PHP unless you use a page builder that reads fields for you. That split is important: editors can manage structured data without touching code, while developers only need PHP when they want to place the value directly in a template.

**Q: What is the biggest limitation of custom fields?**
A: Custom fields hold data, not layout. A theme template, a page builder, or a block still has to show them on the page. Another gotcha is that values live in post meta, so a field added today stays empty on older posts until someone fills it in. That makes setup easy to miss if you expect old content to populate automatically.

**Q: How do I set up custom fields in WordPress with Nexter Extension?**
A: The setup starts with a field group because that is what collects related fields and controls where they appear. A field group can target screens like a post type, a template, or a user profile through location rules. For implementation details, use [Create your first field group](https://nexterwp.com/docs/create-a-field-group-wordpress/), then [Add a field to a post](https://nexterwp.com/docs/add-custom-field-to-post/), and finally [Display a field value on the front end](https://nexterwp.com/docs/display-custom-field-value-wordpress/).
