Blog · WebJi® India

How to Add a Custom Field in WordPress

Quick answer: How to Add a Custom Field in WordPress from WebJi®, billed in INR with 18% GST on the invoice. Email support@webji.services is 24/7 in Hindi and English (average first reply under 60 minutes). Phone +91 141 4941811 is business hours only. The company has been in this business since 2005.
✓ In business since 2005✓ INR + GST billing✓ 24/7 Email Support — avg reply < 60 min
Festive Diwali scene with marigold garlands, gift boxes, diyas and a laptop with a shopping cart — how to add custom field in wordpress

What Custom Fields Are (Post Meta)

What custom fields are, mechanically: post meta — a database table (wp_postmeta) of key-value pairs attached to any post, page or custom post type. Structured data is programmatically usable — sortable, filterable, template-displayable.

Method one, the built-in UI:

  1. Classic editor: the Custom Fields metabox sits below the editor (toggle it under Screen Options if absent).
  2. Block editor: open the three-dot menu > Options > Panels, enable Custom Fields, and confirm the reload.
  3. Name the field — keys are lowercase, underscore-friendly and permanent — enter the value, and click Add Custom Field.
  4. Existing keys appear in the dropdown for reuse on other posts.

The honest assessment: the native UI is fine for a handful of self-used fields but offers no input types, no validation and no client-friendly UI — exactly the gap ACF fills. Fields whose keys begin with an underscore are hidden internal fields used by plugins — never name yours that way.

Method 1: The Built-in Custom Fields UI

On custom fields, the honest summary is that defaults matter more than brand names — a well-set budget plan outranks a mis-tuned premium one. WebJi® documents its defaults openly and adjusts them per ticket when workloads need it.

Festive Diwali scene with marigold garlands, gift boxes, diyas and a laptop with a shopping cart — how to add custom field in wordpress

Method 2: Advanced Custom Fields (ACF)

Method two: Advanced Custom Fields (ACF) — the professional layer. Is ACF free? The core plugin — field groups, a dozen field types (text, textarea, image, date picker, relationship, repeater basics, select, true/false and more), location rules, template functions — yes, free from the plugin directory, sufficient for the large majority of projects. Pro adds repeater and flexible-content refinements, Gutenberg block generation and options pages (ACF operates a freemium model — verify current terms on acf.com).

Workflow: create a Field Group, add fields — label, name, type, instructions, required — and set Location rules ('show if Post Type is Book'). The group appears as a clean metabox on matching posts: clients see labeled inputs with date pickers instead of raw key-value boxes. Field keys created once render everywhere the location rules match, which is what makes ACF the backbone of structured client sites.

Displaying Field Values in Templates

On Advanced Custom Fields (ACF), the honest summary is that defaults matter more than brand names — a well-set budget plan outranks a mis-tuned premium one. WebJi® documents its defaults openly and adjusts them per ticket when workloads need it.

Practical Uses: Specs, Pricing and Event Dates

Practical Uses: Specs, Pricing and Event Dates. Do the change this heading names on one site first, then check it in a private browser window or in the mail client, depending on the topic. Change one setting at a time, and undo it if the result is wrong before you try the next. If you want the Jaipur desk to look with you, email support@webji.services — that mailbox is staffed 24/7 in Hindi and English. Phone +91 141 4941811 is business hours only.

Custom Fields Plus Custom Post Types

On the_meta, the honest summary is that defaults matter more than brand names — a well-set budget plan outranks a mis-tuned premium one. WebJi® documents its defaults openly and adjusts them per ticket when workloads need it.

Common Pitfalls (Prefixes, Serialization)

Two practical notes on metaboxes: it interacts directly with caching and database response, and misconfiguration is the most common cause of 'hosting is slow' tickets. WebJi® support checks it as part of standard migrations.

Frequently Asked Questions

How do I add a custom field in WordPress?

Name the field — keys are lowercase, underscore-friendly and permanent — enter the value, and click Add Custom Field.

Where did custom fields go in the editor?

Classic editor: the Custom Fields metabox sits below the editor (toggle it under Screen Options if absent).

What are custom fields used for?

What custom fields are, mechanically: post meta — a database table (wp_postmeta) of key-value pairs attached to any post, page or custom post type. Structured data is programmatically usable — sortable, filterable, template-displayable.

Is ACF free to use?

For “Is ACF free to use”: Method two: Advanced Custom Fields (ACF) — the professional layer. Is ACF free? The core plugin — field groups, a dozen field types (text, textarea, image, date picker, relationship, repeater basics, select, true/false and more), location rules, template functions — yes, free from the plugin directory, sufficient for the large majority of projects.

How do I display custom fields in templates?

What custom fields are, mechanically: post meta — a database table (wp_postmeta) of key-value pairs attached to any post, page or custom post type. Structured data is programmatically usable — sortable, filterable, template-displayable. The question here is: How do I display custom fields in templates.

Can I add custom fields to pages?

For “Can I add custom fields to pages”: Method two: Advanced Custom Fields (ACF) — the professional layer. Is ACF free? The core plugin — field groups, a dozen field types (text, textarea, image, date picker, relationship, repeater basics, select, true/false and more), location rules, template functions — yes, free from the plugin directory, sufficient for the large majority of projects.

Is WebJi® an Indian company?

Yes. WebJi® is headquartered in Jaipur, Rajasthan and has operated since 2005. Billing, support and governance all run from India.

Do you provide GST invoices?

Every purchase and renewal gets a GST invoice with our GSTIN, and hosting prices are quoted exclusive of 18% GST. Claim input credit as applicable.

Need help with this?

WebJi® support does it for you — free. Talk to our Jaipur team →