Last updated: October 25, 2026
Quick Answer: use 1 main content body and a small set of custom fields. If I need WordPress to handle article automation cleanly, I store machine-managed article metadata in custom fields and keep the editable prose in post content. That split lets WordPress, Advanced Custom Fields, or post meta-driven plugins update structured data without touching the article body a writer still needs to edit. For How to store article metadata in WordPress custom fields for automation, the rule is simple: keep human text in the article and machine data in custom fields.
The rule that keeps content editable and automation safe
Store the human-readable article in post content and the machine-managed facts in WordPress custom fields. That separation is the difference between a page a writer can revise in 5 minutes and a page that breaks every time an automation reruns.
The practical goal is simple: article text stays for the reader, while metadata carries fields like source URL, canonical topic, publication status flags, headline variants, excerpt text, reading level, or schema-ready values. In WordPress, that data usually lives in post meta, which is the storage layer behind custom fields. Advanced Custom Fields adds a friendlier interface on top of that same idea. WordPress documents custom fields as post meta, and ACF builds on that model. WordPress developer docs, Advanced Custom Fields docs
This matters because automation gets messy when prose and metadata are mixed together. If a script has to scrape a paragraph to find the article’s authoring source or category hint, the system becomes fragile. A single rewrite can break downstream publishing. If the same information lives in a custom field, the automation can read one key, update one key, and leave the article body alone.
The clean split also helps with structured content. A newsletter intro belongs in post content. A machine-readable summary, a publication workflow state, or a source identifier belongs in metadata. That is the right mental model for WordPress custom fields: content for humans, metadata for systems.
This page is the practical companion to the broader article automation workflows hub, because the same pattern shows up in most publishing pipelines: separate what changes for readers from what changes for automation.
Which article attributes belong in post content versus metadata?
Put narrative text in post content and put fields that drive automation, validation, or integration in metadata. That rule covers most cases, and it avoids the common mistake of storing everything in one place just because WordPress lets you.
Use post content for the parts a reader must see in the rendered article:
- body copy
- headings and subheadings
- pull quotes
- inline links
- tables that are meant to be read by humans
- image captions when they are editorial, not system-driven
Use custom fields or post meta for the parts the system needs to process:
- source article ID
- external source URL
- content status such as draft, queued, reviewed, or published
- structured summary
- target word count
- content model version
- SEO title candidate
- meta description candidate
- content language code
- schema fields that another tool will map later
A simple test works well: if a writer would argue with the value during editing, it probably belongs in post content. If a script, plugin, or scheduler needs the value untouched, it belongs in metadata. That distinction keeps editorial work and automation work from fighting each other.
A common edge case is the excerpt. In WordPress, the excerpt can be treated as editorial copy, but in automation it often behaves like metadata because other tools use it for cards, feeds, or previews. ACF and WordPress docs both treat it as a field you should handle carefully, so if the workflow matters, consult a WordPress professional or developer before making it machine-managed. WordPress developer docs, ACF docs
The same is true for a featured image ID. The image is visual content, but the attachment ID is still a machine field.
Do not store paragraph-level article text in custom fields just because it is easier to map from a spreadsheet. That creates a second content system inside WordPress, and it usually fails the moment a theme, block editor, or migration tool expects the article body to live in post content.
How do custom fields work in WordPress automation?
Custom fields work by attaching named key-value pairs to a post, and automation reads or writes those pairs just like it would update any other part of post meta. In practice, that means a field name such as source_url or content_status and a value such as a URL, string, or number.
WordPress stores these values in post meta. Advanced Custom Fields sits on top of that storage and makes field groups easier to manage in the editor, but the underlying idea remains the same: a post has a main body, and it can also carry extra structured data. WordPress has supported custom fields for years, and ACF is built to organize them for editors. WordPress developer docs, ACF docs
For automation, that structure is useful because each field can be handled independently. One integration can populate source_url, another can set review_state, and a third can read summary_json before the article is sent to a publishing queue. No tool has to parse the whole article to find one small detail.
The trade-off is that custom fields are only useful if the names are stable and the data types stay consistent. If one workflow writes published, another writes done, and a third writes 1, the automation layer gets harder to maintain. A field called publish_state with a controlled set of values is easier to trust than three loosely related status fields.
I would not use custom fields as a dumping ground for everything that “might be useful later.” Fields should have a purpose on day one. That usually means 5 to 15 fields per content type, not dozens of one-off keys that nobody documents.
How to store article metadata in WordPress custom fields
Use one field group, a fixed naming pattern, and a small set of data types so automation can read the metadata without guessing. The basic workflow is the same whether the source is a spreadsheet, an API, or a content orchestration tool.
- Define the metadata schema before creating fields. List the exact article attributes you need, such as
source_url,source_id,content_status,summary, andschema_type. Decide which ones are required and which can stay empty. A schema with 8 fields is usually easier to maintain than one with 30. - Create a custom field group in Advanced Custom Fields or native WordPress custom fields. Give the group a clear name, such as “Article Automation Metadata,” and attach it to posts, pages, or a custom post type. The result should be one predictable panel in the editor instead of scattered ad hoc fields.
- Choose field types that match the data. Use text for short strings, URL for links, textarea for summaries, number for counts, select for controlled statuses, and checkbox or true/false for flags. A field type that matches the value cuts down on bad data entering the system.
- Use consistent field names, not display labels, for automation. A label like “Source URL” is for editors; the machine should read a stable key such as
source_url. That distinction matters when APIs or importers reference fields directly. - Map source data into those fields during import or publish. Send each incoming value to one custom field only. For example, the article title stays in post title, the body stays in post content, and the source identifier goes into
source_id. This keeps the article readable and the metadata queryable. - Document which fields are editable and which are locked. A reviewer may change
summary, but notsource_id. A writer may updateseo_title, but not the ingestion timestamp. That policy helps prevent accidental edits from corrupting automation, but teams should still review the setup with a WordPress professional if the workflow is business-critical. WordPress developer docs - Test a full round trip with one article. Create one post, fill the fields, save it, and then reload the post through the same integration that will use it later. If the values come back intact, the structure is probably safe to scale.
A good implementation usually has one required field group per content model, not one field group per person who touched the system. That keeps the setup stable when the team changes.
What metadata schema should I use for automated articles?
Use a metadata schema that reflects the article’s workflow, not the editor’s mood on a given day. A useful schema usually groups fields into source, editorial control, and machine output.
A practical schema might include:
source_idfor the upstream recordsource_urlfor traceabilityworkflow_statusfor draft, review, scheduled, or publishedcontent_versionfor revisionssummaryfor machine- or human-generated abstractsseo_titlefor search display testingmeta_descriptionfor snippetscanonical_topicfor topic clusteringcontent_lockas a yes/no field when automation should stop editingschema_profilefor JSON-LD or other structured content mapping
That schema does two jobs. First, it helps automation know what to do. Second, it gives you a consistent audit trail when an article needs to be traced back to its source or updated without guesswork.
Keep the schema boring. Boring is good here. A field called workflow_status is easier to automate than a field called stage, state, or phase if different tools disagree on meaning. The same goes for timestamps: use one format consistently, ideally whatever the integration layer expects, and do not invent multiple date fields for the same event.
The biggest mistake is to blur metadata schema with content strategy. A schema should not decide the article’s argument, and the article body should not be expected to carry control information. If a value exists to help systems talk to one another, it belongs in metadata even if it feels “important.”
Common mistakes that break article automation
Store the wrong thing in the wrong place, and automation starts doing expensive cleanup work later. The failure usually comes from small habits, not from one dramatic bug.
The first mistake is putting full paragraphs into custom fields. That makes the metadata hard to query and easy to duplicate. It also confuses editors, because the same article appears to have two sources of truth. Keep long-form prose in post content and use custom fields for compact data.
The second mistake is using inconsistent field names. sourceURL, source_url, and Source Url may look similar to a person, but they are different keys to software. One loose naming habit can force scripts to include special-case logic. A naming convention, applied from the first field, is cheaper than cleanup after 50 articles.
The third mistake is storing values with no validation. If workflow_status can hold any free text, the field eventually contains typos, duplicates, and one-off labels. A select field with 4 or 5 allowed values is usually better than an open text box.
The fourth mistake is making the metadata schema too large. A system with 20 rarely used fields becomes hard to maintain, and editors stop trusting it. If a field is not used by publishing, quality control, search, or reporting, it probably does not belong in the core schema.
The fifth mistake is forgetting who edits what. If an automation overwrites a field that a human reviews, the workflow becomes brittle. Mark the field ownership clearly: system-owned, editor-owned, or shared with rules. That one decision prevents silent corruption, but teams should validate the rules with a professional before relying on them at scale. WordPress developer docs
When not to use custom fields for article metadata
Do not use custom fields when the data belongs in the article body or in WordPress’s built-in content model. If the value is part of the article’s visible meaning, it should stay in the editor, not in a hidden field.
That includes the main headline, the body, inline citations, and most editorial notes meant for readers. It also includes taxonomy decisions when the real task is category or tag automation, because that is a separate workflow with its own logic. A custom field is not a substitute for the correct WordPress field type.
I would also avoid custom fields for metadata that no workflow reads. A field that nobody queries, exports, or validates is just clutter. Three well-defined fields beat 18 speculative ones every time.
The honest trade-off is flexibility versus clarity. Custom fields give automation a tidy place to store article metadata, but they add maintenance overhead. If the publishing process is simple and manual, the extra structure may be unnecessary. If the process includes imports, approvals, rewrites, or downstream syndication, the structure usually pays for itself.
For teams building repeatable publishing systems, the key is to keep the metadata schema small, named consistently, and separated from the article text. That is the part that makes WordPress custom fields useful instead of merely available.
Key Takeaways
- Article text and machine data should live in different places so automation can update one without risking the other.
- WordPress custom fields, backed by post meta, are best for traceability, workflow state, summaries, and other structured values.
- Advanced Custom Fields helps editors manage those values, but the underlying discipline is still about naming, validation, and ownership.
- A small schema with stable keys is easier to automate than a large pile of one-off fields.
- The wrong place for custom fields is anything a reader must see as part of the article itself.
How do custom fields work in wordpress automation?
Custom fields give automation a named place to store and retrieve article metadata. A workflow can write values such as source_url, workflow_status, or summary directly into post meta, then read them later without parsing the article body. The key requirement is consistency: the same field name, the same meaning, and the same data type every time.
What metadata should an automated article store in wordpress?
An automated article should store the metadata that supports publishing, review, and traceability. Good candidates are source ID, source URL, workflow status, summary, SEO title, canonical topic, and schema profile. If a field does not help the system publish, validate, or audit the article, it usually does not need to be stored.
Drafted with AI; not yet reviewed by a person.