🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Konto Get it free
YAML Custom Fields icon
aktiv gepflegt Getestet mit WP 7.1

YAML Custom Fields

Custom fields for pages, posts and every part of the site. You set the fields once. Writers fill them in.

Aktive Installationen<10Neu
Downloads · 30d98▲ +24.1% vs prev. 30d
Wertung—0 Bewertungen
Gesundheits-Score60/100Messe
Downloads aller Zeiten857Since Jan 2026
Unterstützung gelöst—Keine aktuellen Threads
erfordertWP 6.4PHP 8.1+
Downloads · 7d28▲ +3.7% week over week
Unser Urteil

Mit Vorsicht verwenden

YAML Custom Fields works, but test it on a staging site before relying on it in 2026. Was last updated 2 months ago, and scores 60/100 on our health check.

  • Getestet mit dem neuesten WordPress (7.1)
  • Kleine Benutzerbasis (<10 aktive Installationen)
  • Bisher sehr wenige Bewertungen
  • Benötigt PHP 8.1 oder neuer

Wie stapelt es sich?

Side-by-side bei Installationen, Updates, Bewertungen und Support

Tägliche Downloads

61320Sep 1Oct 15Nov 29
Gestern3
Täglicher Durchschnitt (1 Jahr)3
Spitzentag38Jul 9, 2026
Letzte 12 Monate867

Download-Spitzen folgen normalerweise einer neuen Version - jede Website, die automatisch aktualisiert wird, gilt als Download.

Ranglisten

Where YAML Custom Fields stands today

WordPress.org Ranglisten suchen

Live-Position in der Plugin-Suche, Top 100
StichwortPositionKonkurrierende PluginsKategorie
Inhalt >100 10,000 Beste Content-Plugins →
custom fields >100 10,000 Best custom fields plugins →
fields >100 10,000 Best fields plugins →
Schema >100 3,622 Beste Schema-Plugins →
yaml #16 163 Best yaml plugins →

About YAML Custom Fields

Aus der offiziellen Readme · V2.0.0

Beschreibung

YAML Custom Fields adds boxes to fill in on pages, like “Headline”, “Team photo” or “Event date”. Writers fill them in. The website shows them in the right place.

You list the fields of each page template in a short text, called a schema. Each field takes a few lines.

Was es tut

  • Gives each page template its own fields.
  • Adds fields to the header, the footer and other site parts.
  • Adds shared fields: one value for every page with the same template.
  • Keeps site details, like a phone number, for the whole site.
  • Lets writers build pages from sections they add, remove and reorder.
  • Keeps collections, like team members, for any page to pick from.
  • Exports and imports fields and content, for backups or moving to another site.
  • Finds missing images and files, and content left behind by removed fields.
  • Shows fields in block themes with a shortcode.
  • Makes fields available over the REST API.

Field types

  • One line of text
  • Several lines of text
  • Text with formatting (bold, links, lists)
  • Code, like an embed or a form
  • Yes or no (tick box)
  • Anzahl
  • Date, with or without time
  • Dropdown
  • Category or tag
  • Kind of content (posts, pages and more)
  • Item from a collection
  • Image, or a gallery
  • File, or several files
  • Group of fields
  • Sections
  • Info box: a note for writers
  • Section heading: a title with a gap above it

Wie es funktioniert

  1. Go to YAML CF and switch on Custom fields for a template.
  2. Click Create schema and list the fields:

    fields:

    • name: headline
      label: Headline
      type: string
    • name: photo
      label: Photo
      type: image
  3. Open a page that uses the template. The fields are in a “Custom fields” box. In the block editor it’s below the content. In the classic editor it’s below the title.

  4. Show each field in the theme with one line:

The Documentation page in the plugin explains every step in plain words.

Entwicklerdokumentation

The full guide is on the plugin’s Documentation page. Here’s the short version.

Functions

ycf_get_field( 'name' )                        // One field
ycf_get_field( 'name', 42 )                    // A field of another post
ycf_get_field( 'name', 'partial:header.php' )  // A site part
ycf_get_field( 'title', null, $section )       // A field inside a section
ycf_get_fields()                               // All fields
ycf_has_field( 'name' )                        // Does it have a value?
ycf_get_image( 'name', null, 'large' )         // Image: id, url, alt, title, caption, width, height
ycf_get_file( 'name' )                         // File: id, url, path, filename, filesize, mime_type, title
ycf_get_term( 'name' )                         // Category or tag (WP_Term)
ycf_get_post_type( 'name' )                    // Content type (WP_Post_Type)
ycf_get_data_object( 'name' )                  // An item from a collection
ycf_get_data_objects( 'short-name' )           // Every item in a collection
ycf_get_global_field( 'name' )                 // One site detail
ycf_get_global_fields()                        // All site details

Each function also has a long name starting with yaml_cf_.

Always escape what you print: esc_html() for text, esc_url() for links, wp_kses_post() for formatted text. Code fields print as they are.

Shortcode

[ycf field="headline"]
[ycf field="hero" size="large"]
[ycf field="phone" source="site"]
[ycf field="subtitle" default="Coming soon"]

Where data is stored

  • Page fields: post meta _yaml_cf_data
  • Schemas: option yaml_cf_schemas
  • Site parts: option yaml_cf_partial_data
  • Shared fields: options yaml_cf_template_global_schemas and yaml_cf_template_global_data
  • Site details: options yaml_cf_global_schema and yaml_cf_global_data
  • Collections: option yaml_cf_data_object_types. Each item has its own option, plus a small index per collection. Read them with ycf_get_data_objects().

Datenschutzerklärung

YAML Custom Fields doesn’t collect or send any data. Everything stays in your WordPress database.

Bibliotheken von Drittanbietern

  • Symfony YAML (6.4), MIT license (works with GPL)
    • Homepage: https://symfony.com/components/Yaml
    • License: https://github.com/symfony/yaml/blob/6.4/LICENSE

Credits

Unterstützen

Installation

  1. In the WordPress admin, go to Plugins → Add New.
  2. Search for “YAML Custom Fields”.
  3. Klicken Sie auf Jetzt installieren und dann Aktivieren.
  4. Go to YAML CF in the menu on the left.

For a ZIP file, use Plugins → Add New → Upload Plugin.

Bedarf

  • WordPress 6.4 or newer
  • PHP 8.1 or newer

Everything else is included.

Änderungsprotokoll

Back up first. Needs WordPress 6.4+. The shared value tick now wins in ycf_get_fields(), and a page value beats a site detail with the same name. Schemas with mistakes are refused. The database is tidied once, by itself.

2.0.0

Changed

  • Needs WordPress 6.4 or newer. Older versions weren’t tested. WordPress won’t offer this update to older sites.
  • The shared value tick always wins. When “Use the shared value on this page” is ticked, ycf_get_fields() now shows the shared value too. Before, it ignored the tick.
  • A page’s own value beats a site detail with the same name.
  • ycf_has_field() means “has a value”. An empty text or an empty list is no value. An unticked box or a zero still is.
  • Mistakes in a schema are refused when saved. Unknown types (with a “Did you mean…?” hint), the same name twice, names with square brackets, and names the plugin uses itself. Schemas already saved keep working.

Neu

  • Works in the block editor. The fields are a real box now. No Classic Editor plugin needed.
  • Block themes. Their templates are listed and can have fields.
  • [ycf] shortcode. Show a field without editing the theme. Works in a Shortcode block, a widget or the content.
  • REST API. Every page and post has a yaml_cf object. There are routes for site details and collections. You can save through it too, with the same checks as the editor.
  • Settings screen. YAML CF → Settings has three choices: page caches, REST API access, and what happens when the plugin is deleted.
  • Keep content when the plugin is deleted. A choice on the Settings screen.
  • Galleries. Image fields take list: true. Pick many images at once. Reorder by dragging or with the keyboard.
  • Search box for big lists. A category or collection field with more than 50 choices becomes a search box. Change the limit with the yaml_cf_picker_threshold filter.
  • Sections fold away. Each section shows its first field as its title. A small Collapse all button folds them all.
  • Save and add another. For collection items. Saves and opens an empty item.
  • Content Check finds left-behind content. Values of removed fields are listed under “Values with no field”, with a button to remove them.
  • Warning when a field loses its place. Removing or renaming a field in any schema says which fields are affected.
  • yaml_cf_field_value filter. Change any value before the theme gets it.
  • Use site details on these pages. The switch is back on the main screen.

Better

  • One kind of message. Messages look the same everywhere, with the same icons. Nothing pops up in a corner. Nothing disappears on its own. Results of a switch or button show right next to it, so the page doesn’t jump.
  • Accessible messages. Screen readers read each message once, with its kind (“Error:”, “Warning:”). Errors get keyboard focus. Pickers say how many results they found.
  • Icons. Headings, columns and buttons have icons. The same thing always has the same icon.
  • One field per row in every form.
  • The Custom fields box can be folded in the classic editor too, and remembers it. The “not saved yet” line works in the block editor too.
  • Main screen. The table doesn’t jump when you switch templates on and off. It works on small screens.
  • Faster. Plugin data isn’t loaded on every page view. Values are worked out once per page. Editor scripts only load where there are fields. Editor pages are much smaller.
  • Collections scale. Each item has its own database row. The item list has pages of 50.
  • No copy of the schema in every post. Schema changes take effect at once.
  • “Add section” is drawn by the server, so a new section is the same as one that was already there.
  • Clearer texts. Onboarding says the theme needs a line of code. An empty template list says why. Permission messages say what’s really needed.

Fixed

  • Removing a field from a schema no longer deletes its content. Put the name back and the content comes back. The same on every screen.
  • A tick box can be unticked again.
  • Importing no longer empties fields the file doesn’t mention.
  • A template with only shared fields now shows the Custom fields box.
  • Child themes showed no templates.
  • Themes built on singular.php (like Twenty Twenty) couldn’t get page fields.
  • ycf_get_field() and ycf_get_fields() could give different values for the same field.
  • A typo in a field type showed nothing and then lost the field’s content.
  • Two fields could share a name, and one replaced the other.
  • Shortcuts like - info: and - section: caused warnings in shared fields and inside sections.
  • Fields could be saved into another post when a plugin saved a second post at the same time.
  • A form left open too long lost your changes without a word. Now it says so.
  • Collection labels didn’t update after a schema change.
  • A collection field could show an item from another collection.
  • Big collection imports could lose their lock.
  • Imports kept image IDs from another site in site details, site parts and shared content.
  • ycf_get_image() with a custom size like [300, 200] crashed the page.
  • Fields named with digits only (like 2024) could be renamed by some saves.
  • The import preview couldn’t tick pages from older export files.
  • Content Check offered to delete fields still in use.
  • “Empty all fields” left galleries, file lists and pickers filled.
  • Import messages didn’t show in the block editor.
  • The active filter button in Content Check was unreadable.

Sicherheit

  • Admin-only actions use their own security token.
  • Writers can only get their own post’s schema.
  • The category picker checks the user may use that taxonomy.
  • Site details no longer leak to visitors through a page’s REST data.
  • Picker labels are inserted as text, not HTML.
  • CSS cleaning repeats until nothing is left to remove.
  • Schemas over 256 KB are refused.

Removed

  • Nine old background requests nothing used anymore.

Aktualisierten

  • Tested with WordPress 7.1.

1.2.9

  • UPDATED: WordPress 7.0 Compatibility – Confirmed compatibility and updated “Tested up to”
  • FIX: Import JSON Parsing – Fixed “Invalid JSON: Syntax error” when importing settings, page data, or data objects whose field values contain HTML/rich-text content, by removing an errant sanitize_textarea_field() call that corrupted the JSON payload before parsing

1.2.8

  • NEW: Multiple File Uploads – File fields now support list: true to attach multiple files, with a dedicated admin UI for adding and removing files
  • UPDATED: ycf_get_file() for Lists – When list: true is set, ycf_get_file() returns an array of file-data arrays instead of a single one
  • IMPROVED: Attachment Validation – Validation now checks each attachment ID in file/image list fields individually

1.2.7

  • FIX: Data Object Fields in Blocks/Objects – Fixed data_object fields not rendering correctly when nested inside block or object fields by adding recursive data object collection in AssetManager and DataObjectController
  • FIX: Attachment Data Validation – Fixed attachment validation logic to correctly handle the case where a schema exists but has no image/file fields, preventing numeric values from being incorrectly cleared
  • FIX: Import Schema Parsing – Fixed data object import to parse YAML schema before validating attachment data, ensuring attachment IDs are preserved correctly during import

1.2.6

  • FIX: Code Field HTML Preservation – Code fields now use base64 encoding with a marker prefix to preserve HTML/JavaScript/CSS code exactly as entered, preventing WordPress sanitization from stripping tags
  • FIX: Code Field Re-save Protection – Already-encoded code fields are now preserved on re-save even if schema detection fails, preventing data loss on page refresh
  • NEW: Auto-decode on Frontend – Code field values are automatically decoded when retrieved via yaml_cf_get_field() and related functions

1.2.5

  • FIX: Code Field Sanitization – Changed filter from FILTER_SANITIZE_FULL_SPECIAL_CHARS to FILTER_UNSAFE_RAW in postRaw() to preserve raw data for schema-aware sanitization, fixing HTML entities being encoded before code fields could be properly identified

Vollständiges Änderungsprotokoll auf WordPress.org →

Screenshots

The YAML CF screen, with a switch per template and the status of its fields.
The YAML CF screen, with a switch per template and the status of its fields.
The schema editor for a template.
The schema editor for a template.
The schema editor for a site part, like the header.
The schema editor for a site part, like the header.
The content of a site part.
The content of a site part.
The Documentation page, written in plain words.
The Documentation page, written in plain words.

Für Entwickler

Ist das dein Plugin? Zeigen Sie die Zahlen.

Fügen Sie Ihrer Website, Docs oder GitHub Readme ein Live-Badge hinzu. Es wird von selbst aktualisiert - kein Konto erforderlich.

Aktiv installiert Badge Bewertungsabzeichen Gesundheits-Score-Abzeichen

Best YAML Custom Fields alternatives

Alle Content-Plugins →
Alternativen
Rang Plugin Aktive Installationen Wertung Aktualisierten Gesundheit
1 One Click Demo-Import One Click Demo-Import Importieren Sie Ihre Demo-Inhalte, Widgets und Theme-Einstellungen mit einem Klick. Themenautoren! Aktivieren… von Syed Balkhi 1M+ ★★★★★★★★★★ 4.3 (79) vor 7 Monaten 67
2 Erweiterter Auszug Erweiterter Auszug Kontrollieren Sie das Aussehen von WordPress Post-Auszügen von wpkube 80K+ ★★★★★★★★★★ 4.3 (101) Vor 4 Monaten 63
3 Rara One Click Demo-Import Rara One Click Demo-Import Lassen Sie Ihre Website mit einem Klick wie die Live-Demo des Themas aussehen! by Rara Themes 20K+ ★★★★★★★★★★ 2.7 (7) Vor 3 Monaten 72
4 Soro – SEO Autopilot & AI Content Writer Soro – SEO Autopilot & AI Content Writer Verbinden Sie Ihre WordPress-Website mit Soro für die automatische AI-basierte Artikelveröffentlichung und SEO… von Soroseo 10K+ ★★★★★★★★★★ 3.7 (3) Vor 1 Woche 65
5 WP-Untertitel WP-Untertitel Fügen Sie Ihren Seiten, Beiträgen oder benutzerdefinierten Post-Typen Untertitel (Unterüberschriften) hinzu. Von Husani 10K+ ★★★★★★★★★★ 4.1 (21) Vor 9 Monaten 58
6 TutorMate TutorMate TutorMate ist ein Tutor Starter Theme Companion Plugin zum Importieren von vorgefertigten… von themeum 10K+ ★★★★★★★★★★ 5 (1) Vor 3 Monaten 70
7 ThemeBeez Toolkit ThemeBeez Toolkit Ein wesentliches Toolkit für WordPress von uns entwickelte Themen. ThemeBeez Toolkit hilft Ihnen… von themebeez 8K+ ★★★★★★★★★★ 5 (1) Vor 5 Monaten 64
8 Wurzelrelativ URLs Wurzelrelativ URLs Konvertiert alle URLs in root-relativ URLs zum Hosten derselben Site auf mehreren IPs, einfacher… von Marcuspope 5K+ ★★★★★★★★★★ 2.9 (20) Vor 9 Jahren 36
9 Surfer – WordPress Plugin Surfer – WordPress Plugin Verbinden Sie den Inhaltseditor des Surfers mit WordPress. Schreiben und optimieren Sie Ihre Artikel für SEO… von Surfer 5K+ ★★★★★★★★★★ 4.7 (10) Vor 1 Monat 79
10 WP-Inhalt Kopierschutz mit Farbdesign WP-Inhalt Kopierschutz mit Farbdesign Dieses Plugin schützt die Posts-Inhalte vor dem Kopieren, indem Sie mit der rechten Maustaste klicken und deaktivieren… von Kazuki Yanamoto 5K+ ★★★★★★★★★★ 4.5 (25) Vor 3 Monaten 81

Fragen und Antworten

YAML Custom Fields: quick answers

Gerade Antworten, gezogen von Live WordPress.org Daten.

Quelle: WordPress.org

Is YAML Custom Fields free?

Yes. YAML Custom Fields is free to download and use from the official WordPress.org plugin directory.

Is YAML Custom Fields safe to use in 2026?

YAML Custom Fields works, but test it on a staging site before relying on it in 2026. Was last updated 2 months ago, and scores 60/100 on our health check.

How many websites use YAML Custom Fields?

YAML Custom Fields is active on <10 WordPress websites and has been downloaded 857 times since it launched in January 2026. It was downloaded 98 times in the last 30 days.

Does YAML Custom Fields work with WordPress 7.1?

Yes. The developer has tested YAML Custom Fields up to WordPress 7.1.5, the latest release. It requires WordPress 6.4 or newer.

What PHP version does YAML Custom Fields need?

YAML Custom Fields requires PHP 8.1 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.

When was YAML Custom Fields last updated?

The latest version, 2.0.0, was released on September 28, 2026 (2 months ago).

Who makes YAML Custom Fields?

YAML Custom Fields is developed and maintained by starbist.

What are the best alternatives to YAML Custom Fields?

The most popular alternatives to YAML Custom Fields are One Click Demo Import (1M+ installs), Advanced Excerpt (80K+ installs) and Rara One Click Demo Import (20K+ installs).

Angetrieben von PageForge

Eine Vorlage und eine Tabelle. Eine echte Seite für jede Suche.

PageForge Verwandelt jede Zeile eines CSV in eine WordPress-Seite mit eigenem Titel, URL, SEO Felder und Schema entworfen. Kostenlos auf WordPress.org.

  • CSV und XLSX, plus Google Sheets auf Beruf und Unternehmen
  • seinen eigenen Titel, URL, SEO Felder und Schema für jede Seite
  • Arbeitet mit dem Blockeditor, Elementor, Divi und Avada
  • Kostenlos auf WordPress.org, keine Kreditkarte

↑↓ bewegen↵ öffnen