Skip to content

Show Custom Fields on Specific Post Types in WordPress

Key Takeaways

  • Nexter Extension muestra un grupo de campos solo en un tipo de contenido cuando la regla de ubicación usa Post Type, el operador Equals y el post type elegido.
  • Content Fields en Nexter → Content Fields requiere que Nexter Extension esté instalado y activo antes de empezar.
  • Una sola regla coincide con un solo post type, así que para varios tipos se añade un segundo grupo de reglas con Add Rule Group, y el post type debe estar registrado antes de poder seleccionarlo.
Table of Contents

The most common location rule of all: show a field group only on one kind of content.

What It Does

A Post Type rule matches the editing screen for that type. Posts, pages and every custom post type on the site are available, including ones you created in Content Fields.

Before You Start

  • Nexter Extension is installed and active.
  • Content Fields is enabled under Nexter → Content Fields.
  • You have a field group, or are about to create one.

Limit a Group to One Post Type

  1. Open the field group and find Location Rules.
The Location Rules panel on a field group
  1. Set the parameter to Post Type.
  1. Set the operator to Equals.
  1. Choose the post type.
  1. Click Update.

When to Use It

  • Property fields on Properties only.
  • Recipe fields on Recipes only.
  • A field group that must never appear on ordinary blog posts.

Limitations

  • One rule matches one post type. For several, add a second rule group — not a second AND rule, which could never match both at once.
  • A post type must be registered before it can be selected. Create it first under the Post Types tab.

Troubleshooting

I want the group on two post types and it shows on neither

Two Post Type rules ANDed together can never match. Use Add Rule Group so they are ORed.

My post type is not in the list

It is not registered yet, or it was registered after the screen loaded. Create it, then reload the Content Fields screen.

Related Docs

Share your Thoughts

Still in Doubt? Let’s Assist You

Have Feedback or Questions?

Join our WordPress Community on Facebook!

Related Frequently Asked Questions

How do I show custom fields on only one WordPress post type?

A Post Type location rule is the clean way to keep a field group tied to one editing screen. In Nexter Extension, set Location Rules to Post Type, use Equals, pick the post type, then update the group. That matters because the rule matches the editing screen for that content type, so the fields stay out of unrelated posts and pages. This is the right setup when a field group should belong to one content model only.

Why does my custom field group show on neither of two post types?

Two Post Type rules joined with AND can never match both post types at once. The fix is to use Add Rule Group so the rules are ORed instead of combined as a single match condition. That distinction matters in Nexter Extension because one rule matches one post type, while separate rule groups let the same field group appear on multiple content types without breaking the logic.

What should I do if my custom post type is not in the list?

A post type has to be registered before it can appear in Location Rules. If it was created after the Content Fields screen loaded, reload that screen after registering it under the Post Types tab. In Nexter WP, that timing issue is the usual reason a valid post type seems missing, so refreshing after creation is part of the workflow.

When should I limit a field group to a single post type?

Use a single Post Type rule when the fields only make sense for one content type, like property fields on Properties or recipe fields on Recipes. That keeps editors from seeing irrelevant fields on ordinary blog posts and reduces clutter in the editing screen. For Nexter Theme and Nexter Blocks users building structured content, this is the simplest way to keep data organized.

What are the limitations of Post Type location rules in WordPress custom fields?

One rule matches one post type, so a single AND rule cannot cover multiple post types at once. A post type also must already be registered before it can be selected in Location Rules. In practice, that means you either target one content type directly or split multiple targets into separate rule groups if you want them all to match.

What do I need before setting up custom fields for specific post types?

Nexter Extension has to be installed and active, and Content Fields must be enabled under Nexter → Content Fields. You also need an existing field group or be ready to create one first. That setup matters because the location rules only work once Content Fields is turned on, and it keeps the workflow inside Nexter Suite instead of mixing tools.

Last reviewed: November 12, 2026

Related Docs