Beginne mit einer Aufgabe
Diese 40 Karten decken eine typische Website ab: was wohin gehört, was dein Kunde im Adminbereich sieht und welche Fehler der Build findet. Darunter stehen alle Attribute.
Oder beginne mit einem ganzen Abschnitt: Hero, FAQ, Tarife, Header →
Text und Bilder
Listen
Website-Einstellungen
Blog und Beiträge
Unter einer Bedingung zeigen
Shop
Komfortabler Adminbereich
Formulare und Plugins
Benutzerdefinierte Felder
Felder (fld-, opt-, tax-)
Präfixe nach Anwendungsbereich
Ein Feldtyp lässt sich auf 4 verschiedene Entitäten anwenden. Nur das Präfix ändert sich — Wertesyntax und Verhalten bleiben gleich.
fld-*BeitragsfeldWert gehört zu einem bestimmten Beitrag, einer Seite oder einem CPT
fld-text="field_name"Alternativ: f_text="field_name"opt-*Optionensite-weites Asset — Logo, Kontakte, Favicon
opt-text="field_name"Alternativ: o_text="field_name"tax-*TaxonomiefeldWert gehört zu einem Term (Kategorie, Tag, eigene Taxonomie)
tax-text="field_name"Alternativ: t_text="field_name"Jeder Feldtyp funktioniert in jedem Scope — sowohl als direktes Scoped-Attribut (fld-text / opt-text / tax-text; alternativ f_text / o_text / t_text) als auch durch Platzieren eines einfachen fld-*-Feldes in einem Scope-Container (opt-group / tax-group / fld-loop), wo es automatisch diesem Scope zugeordnet wird.
fld-alt="field_name"Alternativ: f_alt="field_name"Schreibt den Wert in das alt-Attribut eines img-Tags — die Bildbeschreibung für Barrierefreiheit und SEO. Polylang/WPML-fähig.
fld-altf_altopt-alto_alttax-altt_altfld-anchor="field_name"Alternativ: f_anchor="field_name"Anker-Link — das Feld akzeptiert einen Identifier ohne #-Zeichen; der Generator setzt die Raute beim Schreiben ins href vor.
fld-anchorf_anchoropt-anchoro_anchortax-anchort_anchorfld-area="field_name"Alternativ: f_area="field_name"Mehrzeiliges Feld für reinen Text ohne visuellen Editor: Zeilenumbrüche aus dem Adminbereich werden auf der Website zu Zeilenumbrüchen. Für Einleitungen, Adressen, kurze Beschreibungen.
fld-areaf_areaopt-areao_areatax-areat_areafld-auto-id="field_name"Alternativ: f_auto_id="field_name"Erzeugt eine eindeutige HTML-id aus dem Wert eines verknüpften ACF/SCF-Feldes. Nützlich, wenn Repeater-Zeilen hintereinander gerendert werden und stabile IDs für Anker oder CSS brauchen.
fld-auto-idf_auto_idopt-auto-ido_auto_idtax-auto-idt_auto_idfld-bg-color="field_name"Alternativ: f_bg_color="field_name"Hintergrundfarbe — schreibt den Wert in den inline background-color-Style. Color-Picker im Admin.
fld-bg-colorf_bg_coloropt-bg-coloro_bg_colortax-bg-colort_bg_colorfld-bg-image="field_name"Alternativ: f_bg_image="field_name"Hintergrundbild eines Blocks — der Generator schreibt die URL in den inline background-image-Style. Hat der Block auch eine Hintergrundfarbe oder einen Gradienten, wird das Bild in manchen Browsern eventuell nicht gerendert.
fld-bg-imagef_bg_imageopt-bg-imageo_bg_imagetax-bg-imaget_bg_imagefld-bg-video="field_name"Alternativ: f_bg_video="field_name"HTML5-Hintergrundvideo — Gruppe aus drei Feldern: Poster-Platzhalter, mp4 und webm. Der Generator hängt ein <video> mit autoplay/muted/loop an den Block-Hintergrund.
fld-bg-videof_bg_videoopt-bg-videoo_bg_videotax-bg-videot_bg_videofld-checkbox="field_name"Alternativ: f_checkbox="field_name"Bindet den State einer input[type=checkbox] an ein boolesches ACF/SCF-Feld. Der Generator fügt das checked-Attribut hinzu, wenn der Wert true ist.
fld-checkboxf_checkboxopt-checkboxo_checkboxtax-checkboxt_checkboxfld-checkbox-custom="field_name"Alternativ: f_checkbox_custom="field_name"Custom-Checkbox innerhalb fld-loop — jede Zeile bekommt einen eindeutigen name, sodass das Formular ein Werte-Array zurückliefert.
fld-checkbox-customf_checkbox_customopt-checkbox-customo_checkbox_customtax-checkbox-customt_checkbox_customfld-class="field_name"Alternativ: f_class="field_name"Schreibt den Wert in das HTML-class-Attribut. Praktisch für bedingtes Styling: im Admin String wählen (z. B. is-featured), wird am Frontend zur Block-Klasse.
fld-classf_classopt-classo_classtax-classt_classfld-code="field_name"Alternativ: f_code="field_name"Beliebiges Code-Snippet — der Wert wird unmaskiert ausgegeben (raw output). Für Tracking-Pixel, Drittanbieter-iframes, Inline-Styles.
fld-codef_codeopt-codeo_codetax-codet_codefld-color="field_name"Alternativ: f_color="field_name"Textfarbe — schreibt den Wert in den inline color-Style des aktuellen Elements. Im Admin Color-Picker mit Alpha-Kanal.
fld-colorf_coloropt-coloro_colortax-colort_colorfld-custom="field_name"Alternativ: f_custom="field_name"Beliebiges benutzerdefiniertes Attribut: verbindet ein beliebiges HTML-Attribut des Elements als bearbeitbares Feld mit dem Admin-Bereich. Wertformat: "Attributname:Label im Admin". Beispiel: fld-custom="src:Image link" oder fld-custom="href:Link field name" macht src bzw. href bearbeitbar. Mehrere solche Attribute am selben Element — nummerierte Varianten fld-custom1...fld-custom20.
fld-customf_customopt-customo_customtax-customt_customfld-editor="field_name"Alternativ: f_editor="field_name"Visueller Editor (TinyMCE) für formatierten Text: Überschriften, Listen, Links, Bilder. Setze ihn auf ein div: WordPress setzt den Text selbst in Absätze.
fld-editorf_editoropt-editoro_editortax-editort_editorfld-email-link="field_name"Alternativ: f_email_link="field_name"E-Mail-Link in einem Attribut — der Generator baut href="mailto:..." und schreibt die Adresse aus dem Feld als sichtbaren Linktext in <a>.
fld-email-linkf_email_linkopt-email-linko_email_linktax-email-linkt_email_linkfld-file="field_name"Alternativ: f_file="field_name"Beliebiger Datei-Upload — PDF, DOCX, ZIP usw. Die URL wird in das href eines <a> injiziert. Standard-Medien-Uploader im Admin.
fld-filef_fileopt-fileo_filetax-filet_filefld-gallery="field_name"Alternativ: f_gallery="field_name"Bildergalerie — ein Array von Bildern mit Drag-and-Drop-Reihenfolge. Am Frontend als Schleife über Bilder gerendert.
fld-galleryf_galleryopt-galleryo_gallerytax-galleryt_galleryfld-gmap="field_name"Alternativ: f_gmap="field_name"Google-Maps-Feld — Koordinaten, Adresse und Zoom in einem Picker mit interaktiver Karte. Benötigt einen Google-Maps-API-Key in den Theme-Einstellungen.
fld-gmapf_gmapopt-gmapo_gmaptax-gmapt_gmapfld-gmap-addr="field_name"Alternativ: f_gmap_addr="field_name"Textuelle Adresse aus einer Google Map — extrahiert die address-Komponente aus dem gmap-Objekt. Praktisch für eine Beschriftung unter der Karte.
fld-gmap-addrf_gmap_addropt-gmap-addro_gmap_addrtax-gmap-addrt_gmap_addrfld-group="field_name"Alternativ: f_group="field_name"Container für verschachtelte Felder — alle fld-* innerhalb werden zu Unterfeldern der Gruppe im Admin. Hat keinen eigenen Wert, strukturiert nur das Theme-Panel.
fld-groupf_groupopt-groupo_grouptax-groupt_groupfld-hide="field_name"Alternativ: f_hide="field_name"Bedingtes Block-Verstecken — Spiegel von show mit umgekehrter Logik. true im Admin entfernt den Block aus dem Markup.
fld-hidef_hideopt-hideo_hidetax-hidet_hidefld-id="field_name"Alternativ: f_id="field_name"Schreibt den Wert in das HTML-id-Attribut des aktuellen Elements. Für Auto-Generierung aus Content siehe auto_id oder slug_id.
fld-idf_idopt-ido_idtax-idt_idfld-image="field_name"Alternativ: f_image="field_name"Bildfeld. Auf einem <img> nimmt der Build src aus dem Feld und entfernt srcset und sizes, damit das im Adminbereich gewählte Bild erscheint; alt und class bleiben wie im Markup.
fld-imagef_imageopt-imageo_imagetax-imaget_imagefld-image-gallery="field_name"Alternativ: f_image_gallery="field_name"Galerie ohne automatische Lightbox-Umhüllung — wenn der Modal-Viewer über eine eigene JS-Komponente angebunden ist.
fld-image-galleryf_image_galleryopt-image-galleryo_image_gallerytax-image-galleryt_image_galleryfld-layout="field_name"Alternativ: f_layout="field_name"Einzelnes Block-Template innerhalb fld-layouts — enthält die Elemente für eine bestimmte Layout-Variante.
fld-layoutf_layoutopt-layouto_layouttax-layoutt_layoutfld-layouts="field_name"Alternativ: f_layouts="field_name"Flexible Content — Benutzer wählt verschiedene Block-Typen im Admin und ordnet sie beliebig an. Jeder Typ ist ein eigenes fld-layout mit eigenem Markup.
fld-layoutsf_layoutsopt-layoutso_layoutstax-layoutst_layoutsfld-lbox-gallery="field_name"Alternativ: f_lbox_gallery="field_name"Galerie in Lightbox — jedes Bild wird automatisch in <a> mit Lightbox-Attributen für das gewählte Widget eingewickelt.
fld-lbox-galleryf_lbox_galleryopt-lbox-galleryo_lbox_gallerytax-lbox-galleryt_lbox_galleryfld-lbox-image="field_name"Alternativ: f_lbox_image="field_name"Lightbox-Bild — der Generator wickelt <img> in <a href> auf die Vollgröße ein, inklusive Attribute für den Modal-Viewer (Fancybox, GLightbox, nativ).
fld-lbox-imagef_lbox_imageopt-lbox-imageo_lbox_imagetax-lbox-imaget_lbox_imagefld-lbox-video="field_name"Alternativ: f_lbox_video="field_name"Lightbox-Video — das Feld akzeptiert eine URL (YouTube, Vimeo, MP4) und wird zu einem Lightbox-Link mit Embed-on-click.
fld-lbox-videof_lbox_videoopt-lbox-videoo_lbox_videotax-lbox-videot_lbox_videofld-link="field_name"Alternativ: f_link="field_name"Universeller Link als Klartextfeld — Benutzer gibt URL ein, der Generator schreibt sie ins href. Keine Beitragsauswahl, keine Schemaprüfung.
fld-linkf_linkopt-linko_linktax-linkt_linkfld-list="field_name"Alternativ: f_list="field_name"Werteliste über textarea — jede Zeile wird zum Array-Element. Gut für Vorteilslisten, Tags, einfache Aufzählungen ohne Repeater.
fld-listf_listopt-listo_listtax-listt_listfld-loop="field_name"Alternativ: f_loop="field_name"Repeater — Benutzer fügt beliebig viele Zeilen hinzu, jede mit eigenem Set Felder. Innerhalb fld-loop normale fld-* Attribute verwenden; der Parser erkennt, dass sie zur Repeater-Zeile gehören. Das TF-Pendant zu the ACF/SCF Repeater.
fld-loopf_loopopt-loopo_looptax-loopt_loopfld-lottie="field_name"Alternativ: f_lottie="field_name"Lottie-Animation — das Feld akzeptiert eine URL zu einer JSON-Datei. Am Frontend wird ein lottie-player im aktuellen Element initialisiert.
fld-lottief_lottieopt-lottieo_lottietax-lottiet_lottiefld-page-link="field_name"Alternativ: f_page_link="field_name"Link auf eine WordPress-Seite — Dropdown-Auswahl über bestehende Seiten, Beiträge und CPTs im Admin. Liefert den Permalink und respektiert die aktive Polylang/WPML-Locale.
fld-page-linkf_page_linkopt-page-linko_page_linktax-page-linkt_page_linkfld-phone-link="field_name"Alternativ: f_phone_link="field_name"Telefon-Link in einem Attribut — der Generator baut href="tel:..." und schreibt die Nummer aus dem Feld als sichtbaren Text in <a>.
fld-phone-linkf_phone_linkopt-phone-linko_phone_linktax-phone-linkt_phone_linkfld-placeholder="field_name"Alternativ: f_placeholder="field_name"Schreibt den Wert in das placeholder-Attribut eines input/textarea — der Hinweistext in einem leeren Formularfeld.
fld-placeholderf_placeholderopt-placeholdero_placeholdertax-placeholdert_placeholderfld-posts="field_name"Alternativ: f_posts="field_name"Schleife über manuell ausgewählte Beiträge — am Frontend als WP_Query gerendert, die Reihenfolge bleibt erhalten.
fld-postsf_postsopt-postso_poststax-postst_postsfld-radio="field_name"Alternativ: f_radio="field_name"Radio-Buttons — eine Option aus einer vordefinierten Liste wählen. Konfiguration im Theme-Panel.
fld-radiof_radioopt-radioo_radiotax-radiot_radiofld-select="field_name"Alternativ: f_select="field_name"Dropdown-Liste — (label, value)-Paare werden im Theme-Panel über einen Unter-Repeater konfiguriert.
fld-selectf_selectopt-selecto_selecttax-selectt_selectfld-shortcode="field_name"Alternativ: f_shortcode="field_name"Shortcode als Feldwert — der Inhalt läuft vor der Ausgabe durch do_shortcode. Jeder WordPress-Shortcode an beliebiger Stelle im Theme.
fld-shortcodef_shortcodeopt-shortcodeo_shortcodetax-shortcodet_shortcodefld-show="field_name"Alternativ: f_show="field_name"Bedingte Block-Anzeige — true im Admin lässt den Block am Frontend, false entfernt ihn (über CSS display:none oder PHP-Guard).
fld-showf_showopt-showo_showtax-showt_showfld-slug-id="field_name"Alternativ: f_slug_id="field_name"Slug-artige ID mit Transliteration — der Generator nimmt den Wert des verknüpften Feldes und konvertiert ihn ins Slug-Format (Kyrillisch → Latein, Leerzeichen → Bindestriche, Kleinbuchstaben).
fld-slug-idf_slug_idopt-slug-ido_slug_idtax-slug-idt_slug_idfld-style="field_name"Alternativ: f_style="field_name"Beliebiges Inline-CSS auf das aktuelle Element — schreibt den Wert ins style-Attribut. Sparsam einsetzen: überschreibt Stylesheets.
fld-stylef_styleopt-styleo_styletax-stylet_stylefld-terms="field_name"Alternativ: f_terms="field_name"Schleife über ausgewählte Terme — das Array aus einem taxonomy-Feld, praktisch für Tag-Listen oder Linklisten.
fld-termsf_termsopt-termso_termstax-termst_termsfld-text="field_name"Alternativ: f_text="field_name"Einzeiliges Textfeld, der häufigste Typ. Es ersetzt den gesamten Inhalt des Elements durch den Feldwert; der Text im HTML wird beim „Daten laden“ zum ersten Wert des Felds, nicht zum Ersatzwert. Übersetzbar mit Polylang/WPML.
fld-textf_textopt-texto_texttax-textt_textfld-title="field_name"Alternativ: f_title="field_name"Schreibt den Wert in das HTML-Attribut title — Tooltip bei Hover. Am häufigsten auf Links und Bildern.
fld-titlef_titleopt-titleo_titletax-titlet_titlefld-value="field_name"Alternativ: f_value="field_name"Schreibt den Wert in das value-Attribut von input/select — für Formularfelder mit aus dem Admin steuerbarem Default.
fld-valuef_valueopt-valueo_valuetax-valuet_valuefld-video="field_name"Alternativ: f_video="field_name"Video per URL — auf einen Video-Block setzen; im Admin erscheint ein Textfeld für einen beliebigen Video-Link (YouTube, Vimeo, …); im Frontend wird ein eingebetteter Player abgespielt.
fld-videof_videoopt-videoo_videotax-videot_videofld-youtube="field_name"Alternativ: f_youtube="field_name"YouTube-Video per URL — der Generator setzt das Embed-iframe in das aktuelle Element ein.
fld-youtubef_youtubeopt-youtubeo_youtubetax-youtubet_youtubeFeldgruppe (Meta)
Creates an ACF/SCF field group from the field attributes inside the element it sits on. Place it on the element that holds the fields, most often body; the value is the group name in wp-admin (alternative: wp_meta). Without wp-fields-group on a page, no field group is created for that template automatically (you can still add one by hand in the ACF/SCF settings). This attribute does not create template files — they are generated from the Webflow pages separately
wp-fields-group="Group name"Alternativ: wp_metaErstellt eine ACF/SCF-Feldgruppe aus den Feld-Attributen innerhalb des Elements, auf dem es steht. Wird auf das Element mit den Feldern gesetzt — meist auf body; der Wert ist der Gruppenname im Admin (alternativ: wp_meta). Ohne wp-fields-group auf der Seite werden für dieses Template keine Feldgruppen automatisch erstellt (manuell in den ACF/SCF-Einstellungen weiterhin möglich). Template-Dateien erstellt das Attribut nicht — sie werden separat aus den Webflow-Seiten generiert.
Editor anzeigen (wp-show-editor)
Keep the WordPress text editor on a page with custom fields. A ThemeForge attribute (no alternative spelling)
wp-show-editorHält den visuellen WP-Editor auf Seiten sichtbar, die per wp-fields-group an ein Template gebunden sind. Standardmäßig wird der Editor versteckt — dieses Attribut bringt ihn zurück.
Feldbeschreibung
Adds a hint (description) under the field in wp-admin. Works at any nesting level.
instructions="Hint text"Adds a help text (description) under a field’s label in the WordPress admin. Place it on the same element that carries a field attribute (fld-text, opt-link, a group or repeater container, …) and editors see your guidance right where they fill the field in.
Anzeigesteuerung
Controls how the element is displayed in the ACF admin
display="table"Rendert einen fld-looper als Tabellen-Layout im Admin — ein kompaktes Zeilenraster. Gut für kurze Felder (Name + Preis + Menge).
display="block"Jede Repeater-Zeile ist eine eigene Block-Karte mit vertikal gestapelten Feldern. Standard für die meisten Typen.
display="row"Felder innerhalb einer Zeile fließen horizontal (flex) — für kurze «Label + Wert»-Paare im Admin.
Allgemeine Attribute
Bedingte Anzeige
Conditional output by a WordPress function
wp-if="condition()"Alternativ: wp_ifBedingte Ausgabe des Blocks nach einer WordPress-Bedingung: Der Wert ist ein Funktionsaufruf (oder Ausdruck), der true/false liefert. Bei false erscheint der Block gar nicht in der Seitenausgabe. Auch ein bloßer Feldname ist möglich: wp-if="phone" zeigt den Block nur, wenn das Feld phone gefüllt ist (äquivalent zu get_field('phone')). Typische Werte in den Beispiel-Karten unten; beliebige PHP-Ausdrücke sind ebenfalls erlaubt.
has_post_thumbnail()Prüft, ob der Beitrag ein Beitragsbild (Thumbnail) hat.is_user_logged_in()Prüft, ob der Nutzer angemeldet ist.is_front_page()Aktuelle Seite ist die Site-Startseite.is_single()Aktuelle Seite ist ein einzelner Beitrag.is_page()Aktuelle Seite ist eine statische Seite.is_category()Aktuelle Seite ist ein Kategorie-Archiv.is_archive()Aktuelle Seite ist ein beliebiges Archiv (Kategorie, Tag, Datum, Autor).is_search()Aktuelle Seite ist eine Suchergebnisseite.is_404()Aktuelle Seite ist 404 (nicht gefunden).PHP-Variable setzen (wp-set)
Puts a given value into an HTML attribute of the element
wp-set="attribute:value" / wp-set="a1:v1; a2:v2" (several pairs separated by ;)Alternativ: wp_setUniversal HTML attribute setter. Format: `wp-set="name:value"`. The wp-set attribute itself is removed, and the «name:value» pair is added as a regular HTML attribute on the same element. Multiple pairs can be specified with `;`: `wp-set="n1:v1; n2:v2"`. Examples: `wp-set="type:date"` → `type="date"`; Schema.org microdata `wp-set="itemscope: ; itemtype: https://schema.org/BreadcrumbList"` → `itemscope="" itemtype="https://schema.org/BreadcrumbList"`. If the value needs to be computed via PHP, use wp-set-php instead.
PHP-Ausdruck (wp-php)
An arbitrary PHP expression
wp-php="echo get_field(...)"Alternativ: wp_phpFührt beliebigen PHP-Code anstelle des Elements aus — der Generator umschließt den Wert mit <?php ... ?>. Maximale Freiheit: Variablen, Schleifen, Funktionsaufrufe. Zum bloßen Ausgeben eines Werts ist php-echo bequemer (echo ist impliziert), für bedingte Anzeige php-if / wp-if.
PHP-Ausgabe
Print a PHP expression
php-echo="expression"Alternativ: php_echoGibt das Ergebnis eines PHP-Ausdrucks als Inhalt des Elements aus. Das Wort echo nicht schreiben — es ist impliziert: php-echo="get_the_title()" gibt den Titel des aktuellen Beitrags aus. Für kurze sichere Konstrukte; für Code mit Logik wp-php verwenden.
PHP-Bedingung
A PHP condition
php-if="condition"Alternativ: php_ifBedingtes Rendern: Das Element wird nur ausgegeben, wenn der PHP-Ausdruck im Wert wahr ist. Z. B. zeigt php-if="is_user_logged_in()" den Block nur eingeloggten Besuchern. Jeder boolesche Ausdruck funktioniert; verwandt mit wp-if (das auf fertige WordPress-Bedingungen setzt).
PHP Injection (Positional)
php-before="php code"Alternativ: php_beforeInserts raw PHP code immediately BEFORE the element — for setup logic, opening control structures, or variable assignments that wrap the element.
php-after="php code"Alternativ: php_afterInserts raw PHP code immediately AFTER the element — pairs with php-before to close control structures or run teardown logic.
php-insert="php code"Alternativ: php_insertInserts PHP code INSIDE the element, replacing its children — the element keeps its tag and attributes but its content becomes the code's output.
php-replace="php code"Alternativ: php_replaceReplaces the ENTIRE element (tag included) with the output of the PHP code — use when you need to swap the whole node for dynamic markup.
php-prepend="php code"Alternativ: php_prependInserts PHP code at the START of the element's content — prepends the code output before the existing children.
php-append="php code"Alternativ: php_appendInserts PHP code at the END of the element's content — appends the code output after the existing children.
Templates & Loading
wp-include="file_name" (no extension)Alternativ: wp_includeFügt an dieser Stelle eine andere PHP-Datei des Themes ein (normales include; Name ohne Endung — .php wird automatisch ergänzt). Hauptunterschied zu wp-part: Die wp-include-Datei wird vom Generator NICHT erstellt und bei Theme-Updates NICHT überschrieben — es ist dein eigenes Partial, von Hand gepflegt, und es übersteht Updates. Trick: Zuerst wp-part setzen, damit der Generator die Element-Markup einmal in eine Datei auslagert, dann das Attribut auf wp-include ändern — die Datei wird nicht mehr überschrieben und kann von Hand weiterentwickelt werden.
wp-part="slug"Alternativ: wp_partLagert das Element in eine separate wiederverwendbare Datei aus (WordPress template part) und bindet sie über get_template_part() ein. Hauptunterschied zu wp-include: Die Datei wird aus der Webflow-Markup erzeugt und bei JEDEM Theme-Update ÜBERSCHRIEBEN — manuelles Bearbeiten ist sinnlos, bearbeite das Quell-Element in Webflow. Praktisch als Ziel für AJAX-Updates. Kombi: wp-part lagert die Datei einmal aus, danach das Attribut auf wp-include ändern — und die Datei ohne Überschreiben von Hand bearbeiten.
wp-shortcode="[shortcode atr=val]"Alternativ: wp_shortcodeExecutes a WordPress shortcode in place via do_shortcode() — embed plugin output (forms, sliders, WC blocks) anywhere in the layout.
wp-load="post_type"Alternativ: wp_loadTurns the element into a «Load more» button that AJAX-loads the next page of the current query and appends results — infinite-scroll-style pagination.
wp-rotation="N"Alternativ: wp_rotationA grouping counter that splits loop results into groups of N (e.g. columns) — increments per item so you can wrap every N items in a row.
wp-template-cpt="post_type"Alternativ: wp_template_cptBinds the template file to a specific custom post type (CPT). Placed on the `<body>` tag. WordPress shows this template in the «Template» dropdown when editing posts of the named CPT. Example: ```html <body wp-template-cpt="product"> ...template content... </body> ``` This template becomes selectable for posts of type `product` (WooCommerce product).
wp-sidebar="sidebar_name"Alternativ: wp_sidebarWidget-Bereich (dynamische Sidebar): Der Inhalt des Elements wird durch die Widgets ersetzt, die der Admin in diesen Bereich gelegt hat (Design → Widgets). Der Wert ist der Bereichsname; das Theme registriert ihn bei der Generierung automatisch. Auch Plugin-Widgets gehören hierher — z. B. der Premmerce-Katalogfilter.
Beiträge
WordPress Core
Attributes that output standard WordPress fields
wp="post-title"Alternativ: wp="post_title"Gibt den Titel des aktuellen Beitrags oder der Seite aus — den im WP-Feld «Titel» eingegebenen Text. Respektiert die aktive Polylang/WPML-Locale.
wp="post-content"Alternativ: wp="post_content"Gibt den Hauptinhalt des Beitrags über the_content() aus — mit Gutenberg-Blöcken, Shortcodes und oEmbed-Embeds. Muss innerhalb des Loops liegen.
wp="post-excerpt"Alternativ: wp="post_excerpt"Beitrags-Excerpt — eine Kurzbeschreibung aus dem Excerpt-Feld oder automatisch aus dem Inhalt generiert. Gut für Archivkarten und Blog-Snippets.
wp="post-date"Alternativ: wp="post_date"Veröffentlichungsdatum des Beitrags im Theme-Format. Format konfigurierbar unter WP «Einstellungen → Allgemein» oder via get_the_date-Filter.
wp="post-image"Alternativ: wp="post_image"Beitragsbild auf einem <img>: src kommt aus dem Beitrag, srcset und sizes werden entfernt. Für einen Hintergrund post-bg-image.
wp="post-link"Alternativ: wp="post_link"Permalink des aktuellen Beitrags, wird in href geschrieben. Funktioniert auf jedem Element, meist auf einem <a>.
wp="post-author"Alternativ: wp="post_author"Autoren-Anzeigename. Standardmäßig ist der Autor der Nutzer, der den Beitrag veröffentlicht hat.
wp="post-author-link"Alternativ: wp="post_author_link"Link zur Archivseite des Beitragsautors — in href geschrieben. Öffnet das Autorenarchiv.
wp="post-tags"Alternativ: wp="post_tags"Schlagwörter des aktuellen Beitrags, kommagetrennt. Jedes Schlagwort ist ein Link zu seinem Archiv.
wp="posts"Standard-WordPress-Loop (The Loop) — auf Archivseiten werden Beiträge automatisch iteriert. Alles innerhalb wird für jeden Beitrag wiederholt. NUR auf Archiv-Templates verwenden (Blog / Kategorie / CPT-Archiv / Suche); auf einer Einzelbeitragsseite würde eine ungewollte Beitragsliste erscheinen.
wp="pagination"Seitenzahlen für Blog, Archive und Suche: WP-PageNavi, wenn dieses Plugin aktiv ist, sonst paginate_links() von WordPress. Auf ein leeres Element setzen.
wp="home-url"Alternativ: wp="home_link"URL der Site-Startseite — in href geschrieben. Auf lokalisierten Versionen führt sie zur Wurzel der aktuellen Locale.
wp="post-title-link"Alternativ: wp="post_title_link"Beitragstitel als Link zum Beitrag selbst — beide Werte gleichzeitig (Text + href). Ein Attribut ersetzt post-title + post-link.
wp="next-post-link"Alternativ: wp="next_post_link"Link zum nächsten Beitrag im Archiv — in href geschrieben. Beim letzten Beitrag ausgeblendet.
wp="prev-post-link"Alternativ: wp="prev_post_link"Link zum vorherigen Beitrag im Archiv — in href geschrieben. Beim ersten Beitrag ausgeblendet.
wp="post-bg-image"Alternativ: wp="post_bg_image"Beitragsminiatur als Block-Hintergrundbild — die URL landet im inline background-image-Style.
wp="post-lbox-image"Alternativ: wp="post_lbox_image"Beitragsminiatur als Lightbox-Link — <img> wird in <a href> mit Lightbox-Attributen eingewickelt.
wp="site-name"Alternativ: wp="site_name"Alias für bloginfo-name — Site-Titel aus den WP-Einstellungen.
wp="site-desc"Alternativ: wp="site_desc"Alias für bloginfo-description — Site-Tagline aus den WP-Einstellungen.
wp="breadcrumbs"Breadcrumbs über das Plugin Breadcrumb NavXT — der Pfad von der Startseite zur aktuellen Seite. Plugin muss aktiv sein.
wp="no-results"Alternativ: wp="no_results"Container für den «keine Ergebnisse»-Zustand in Archiven und Suche — wird nur angezeigt, wenn keine Ergebnisse vorliegen (JS-gesteuert).
wp="term-title"Alternativ: wp="term_title"Outputs the name of the current taxonomy term — category, tag, or custom taxonomy. Used on taxonomy archives and inside fld-term-query loops. Respects the active Polylang/WPML locale.
wp="term-link"Alternativ: wp="term_link"Permalink to the term's archive page — written into the href of an <a>. Multilang-aware.
wp="term-count"Alternativ: wp="term_count"Number of posts in the current taxonomy term (products in a category, posts in a tag). Useful for a badge next to the category name.
wp="product-price"Alternativ: wp="product_price"WooCommerce price of a product that is not on sale; hidden while it is. Put product-price-sale and product-price-regular next to it for sales.
wp="product-price-regular"Alternativ: wp="product_price_regular"The old, struck-through price, shown only while the product is on sale; empty and hidden otherwise. Pair it with product-price-sale.
wp="product-price-sale"Alternativ: wp="product_price_sale"Sale (discounted) WooCommerce product price. Empty when the product has no active sale.
wp="product-prices"Alternativ: wp="product_prices"Wrapper container for the product price block — typically holds product-price-regular and product-price-sale inside. Structures the price block for CSS.
wp="product-sku"Alternativ: wp="product_sku"WooCommerce product SKU. Hidden when the SKU field is not set on the product.
wp="product-gallery"Alternativ: wp="product_gallery"WooCommerce product gallery container — supports swipe and zoom on the product page.
wp="product-cat-image"Alternativ: wp="product_cat_image"WooCommerce product category image — the thumbnail set under Products → Categories. URL is injected into the img src.
wp="product-cat-bg-image"Alternativ: wp="product_cat_bg_image"Product category image as a background-image
wp="product-qty"Alternativ: wp="product_qty"WooCommerce product quantity input — usually <input type="number">. Pairs with product-qty-plus and product-qty-minus.
wp="product-qty-minus"Alternativ: wp="product_qty_minus"Decrement-quantity button for cart or product page. JS reduces the linked product-qty input by 1.
wp="product-qty-plus"Alternativ: wp="product_qty_plus"Increment-quantity button for cart or product page. JS increases the linked product-qty input by 1.
wp="add-to-cart"Alternativ: wp="add_to_cart"Goes on a <form> with a submit button: adds the product without a page reload and updates the cart counter and mini cart. Quantity inside: wp="product-qty". Variable products use the var-* values.
wp="cart-total"Alternativ: wp="cart_total"Cart total as WooCommerce shows it in the cart. Updated without a page reload when the cart changes.
wp="cart-count"Alternativ: wp="cart_count"WooCommerce cart item count — updated via AJAX. Used in the header for a badge on the cart icon.
wp="cart-empty"Alternativ: wp="cart_empty"«Cart is empty» container — the generator shows it only when the cart has no items. Usually contains a «back to shopping» link.
wp="product-group-child"Alternativ: wp="product_group_child"Zeile eines Unterprodukts eines gruppierten Produkts — gehört auf die sich wiederholende Zeile der Unterprodukt-Schleife (wp-product-query="get_grouped_children()"). Liefert Produkt-ID und Stückpreis, aus denen die Summe berechnet wird.
wp="product-group-qty"Alternativ: wp="product_group_qty"Mengenfeld eines Unterprodukts — wird zu einem Zahlenfeld mit Startwert 0 («nicht bestellt») und einer Obergrenze aus dem Lagerbestand, sofern dieser geführt wird. Hier gehört genau dieses Attribut hin und nicht wp="product-qty": jenes gehört zum Formular des Produkts selbst und würde alle Zeilen gleichzeitig verändern.
wp="product-group-qty-minus"Alternativ: wp="product_group_qty_minus"Minus-Schaltfläche eines Unterprodukts — ändert nur die eigene Zeile.
wp="product-group-qty-plus"Alternativ: wp="product_group_qty_plus"Plus-Schaltfläche eines Unterprodukts — ändert nur die eigene Zeile.
wp="product-group-totals"Alternativ: wp="product_group_totals"Container für die Summe eines gruppierten Produkts — enthält Anzahl, Betrag und die Warenkorb-Schaltfläche.
wp="product-group-count"Alternativ: wp="product_group_count"Gesamtmenge der aktuell gewählten Unterprodukte — wird während der Eingabe im Browser neu berechnet.
wp="product-group-price"Alternativ: wp="product_group_price"Gesamtbetrag der aktuellen Auswahl — wird während der Eingabe im Browser neu berechnet.
wp="product-group-add"Alternativ: wp="product_group_add"Legt die gesamte Auswahl in einem Vorgang in den Warenkorb: jedes Unterprodukt mit einer Menge größer als null.
wp="search"Site search form wrapper — the generator wraps it in an HTML5 <form action="/?s="> with input[name=s].
wp="autoload"Marker for AJAX trigger on a filter element (checkbox / radio / select inside wp-filter-form). When set, JS auto-submits the filter form on value change, no «Apply» click needed. NOT infinite-scroll (see wp-load for that).
wp="product-image"Alternativ: wp="product_image"Additional product image — URL is injected into the img src. Distinct from product-gallery (the whole gallery).
wp="product-bg-image"Alternativ: wp="product_bg_image"Product thumbnail as a background image — URL written into the inline background-image style.
wp="product-lbox-image"Alternativ: wp="product_lbox_image"Product thumbnail as a lightbox link — <img> is wrapped in <a href> with lightbox attributes.
wp="product-image-gallery"Alternativ: wp="product_image_gallery"Product gallery without automatic lightbox — use when the modal viewer is wired via a custom JS component.
wp="product-title"Alternativ: wp="product_title"Product title outside the loop context. Inside single-product / loop product use wp="post-title" instead.
wp="product-height"Alternativ: wp="product_height"Product height from the shipping settings in WC admin.
wp="product-width"Alternativ: wp="product_width"Product width from the shipping settings in WC admin.
wp="product-length"Alternativ: wp="product_length"Product length from the shipping settings in WC admin.
wp="product-weight"Alternativ: wp="product_weight"Product weight from the shipping settings in WC admin.
wp="product-sale-percent"Alternativ: wp="product_sale_percent"Discount percentage on the product — computed from regular/sale price. Useful for a -20% badge.
wp="product-attrs"Alternativ: wp="product_attrs"Loop container over the product's attributes (inside: attr-name, attr-options)
wp="attr-name"Alternativ: wp="attr_name"Product attribute name (inside a product-attrs or var-attrs loop)
wp="auto-attr-terms"Alternativ: wp="auto_attr_terms"Terms of the CURRENT attribute inside var-attrs — the same as wp-attr-terms="*", under its own name, so a converter that does not know the mark leaves the markup static
wp="attr-options"Alternativ: wp="attr_options"Product attribute values (inside a product-attrs loop)
wp="var-attrs"Alternativ: wp="var_attrs"Container, der sein erstes Kind einmal pro VARIATIONS-Attribut wiederholt, das das Produkt tatsächlich hat — ein neues Attribut (neue Größe, neue Zutat) erscheint damit sofort nach dem Speichern in WordPress auf der Website, ohne Designänderung und ohne Theme-Neubau. Innerhalb der wiederholten Gruppe: wp="attr-name" für die Attributbezeichnung und wp-attr-terms="*" für die Liste seiner Werte. Attribute, die auf derselben Vorlage von Hand platziert wurden (wp-attr-terms="pa_x" oder wp-if-attr="pa_x"), werden ÜBERSPRUNGEN — handgebaute Blöcke sind oft individuell, sonst würde das Attribut doppelt gerendert. Nicht-Taxonomie-Attribute («Freitext») werden ebenfalls übersprungen: dort gibt es nichts auszuwählen. Nicht verwechseln mit wp="product-attrs" — das LISTET Attribute als Merkmale auf, dieses baut die AUSWAHL.
wp="product"Product card container — wrapper for a single product on a catalog page.
wp="products"Catalog loop of the shop and category pages: shows the page’s own products, and the first card is the pattern. For products on another page use wp-product-query.
wp="stock"Numeric stock count for the product — shown only when stock management is enabled.
wp="stocked"«In stock» block — the generator shows it when the product is available for purchase.
wp="not-stocked"Alternativ: wp="not_stocked"«Out of stock» block — the generator shows it when the product has no stock.
wp="backorder"«Available on backorder» block — shown when the product is out of stock but orderable.
wp="var-price"Alternativ: wp="var_price"Current price of the selected variation. Updated via JS when the variation changes.
wp="var-price-regular"Alternativ: wp="var_price_regular"Regular (struck-through) price of the selected variation.
wp="var-price-sale"Alternativ: wp="var_price_sale"Sale price of the selected variation. Empty if no sale.
wp="var-image"Alternativ: wp="var_image"Image of the selected variation — URL injected into src.
wp="var-lbox-image"Alternativ: wp="var_lbox_image"Variation image in lightbox.
wp="var-bg-image"Alternativ: wp="var_bg_image"Variation image as background-image on the current element.
wp="var-desc"Alternativ: wp="var_desc"Description of the selected variation.
wp="var-sku"Alternativ: wp="var_sku"SKU of the selected variation.
wp="var-stock"Alternativ: wp="var_stock"Numeric stock count for the selected variation.
wp="var-stocked"Alternativ: wp="var_stocked"«In stock» block for variation — shown when the selected variation is available.
wp="var-not-stocked"Alternativ: wp="var_not_stocked"«Out of stock» block for variation.
wp="var-backorder"Alternativ: wp="var_backorder"«Backorder» block for variation.
wp="var-id"Alternativ: wp="var_id"Numeric ID of the selected variation.
wp="var-height"Alternativ: wp="var_height"Variation height (shipping).
wp="var-width"Alternativ: wp="var_width"Variation width (shipping).
wp="var-length"Alternativ: wp="var_length"Variation length (shipping).
wp="var-weight"Alternativ: wp="var_weight"Variation weight (shipping).
wp="cart-full"Alternativ: wp="cart_full"«Cart not empty» container — the generator shows it only when the cart has items. Paired with cart-empty.
wp="cart-weight-total"Alternativ: wp="cart_weight_total"Total weight of all items in the cart.
wp="checkout"Checkout page container — the main wrapper for checkout.php.
wp="checkout-form"Alternativ: wp="checkout_form"Full checkout form — contains billing-* fields and payment/shipping inside.
wp="checkout-full"Alternativ: wp="checkout_full"Filled checkout form — shown when the cart has items.
wp="checkout-total"Alternativ: wp="checkout_total"Final payable amount on the checkout page.
wp="order-total"Alternativ: wp="order_total"Order total amount in the account details view.
wp="order-number"Alternativ: wp="order_number"Order number (text identifier).
wp="order-comments"Alternativ: wp="order_comments"Order comments field — textarea for additional notes from the customer.
wp="discount-total"Alternativ: wp="discount_total"Total discount applied to the order — sum of coupon discounts.
wp="shipping"Shipping options container — typically holds shipping-radio inside.
wp="shipping-radio"Alternativ: wp="shipping_radio"Radio button for one shipping option.
wp="shipping-cost"Alternativ: wp="shipping_cost"Cost of the selected shipping option.
wp="shipping-countries"Alternativ: wp="shipping_countries"List of countries where shipping is available.
wp="shiping-total"Alternativ: wp="shiping_total"Final shipping cost. The name keeps a typo from the alternative format («shiping»); kept for compatibility.
wp="payment"Payment methods container — typically holds payment-radio inside.
wp="payment-desc"Alternativ: wp="payment_desc"Description of the selected payment method — caption under the radio button.
wp="payment-radio"Alternativ: wp="payment_radio"Radio button for one payment method.
wp="add-coupon"Alternativ: wp="add_coupon"Coupon code input + apply button.
wp="show-coupon"Alternativ: wp="show_coupon"«Use coupon» trigger button — usually expands the code input form.
wp="discount-amount"Alternativ: wp="discount_amount"Total discount amount in the cart
wp="discount-percent"Alternativ: wp="discount_percent"Total discount percentage in the cart
wp="coupon-discount"Alternativ: wp="coupon_discount"Discount amount from applied coupons only
wp="used-coupons"Alternativ: wp="used_coupons"Loop container over applied coupons (inside: coupon-code, coupon-amount, coupon-descr)
wp="coupon-code"Alternativ: wp="coupon_code"Code of the applied coupon (inside a used-coupons loop)
wp="coupon-amount"Alternativ: wp="coupon_amount"Discount amount of the coupon (inside a used-coupons loop)
wp="coupon-descr"Alternativ: wp="coupon_descr"Coupon description (inside a used-coupons loop)
wp="billing-address"Alternativ: wp="billing_address"Customer address (combined field — joins address_1 + address_2).
wp="billing-address-1"Alternativ: wp="billing_address_1"Customer address — line 1 (street, building).
wp="billing-address-2"Alternativ: wp="billing_address_2"Customer address — line 2 (apartment, suite).
wp="billing-city"Alternativ: wp="billing_city"Customer city.
wp="billing-state"Alternativ: wp="billing_state"Customer state / region.
wp="billing-postcode"Alternativ: wp="billing_postcode"Postal code.
wp="billing-country"Alternativ: wp="billing_country"Customer country (select with the WC countries list).
wp="billing-company"Alternativ: wp="billing_company"Customer company name (for B2B orders).
wp="billing-first-name"Alternativ: wp="billing_first_name"Customer first name.
wp="billing-last-name"Alternativ: wp="billing_last_name"Customer last name.
wp="billing-email"Alternativ: wp="billing_email"Customer email — for order confirmation.
wp="billing-phone"Alternativ: wp="billing_phone"Customer phone.
wp="current-user"Alternativ: wp="current_user"Display name of the currently authenticated WP user. Empty for guests.
wp="login-form"Alternativ: wp="login_form"Standard WordPress login form (wp_login_form).
wp="login-wc"Alternativ: wp="login_wc"WooCommerce login form — extended version for my-account.
wp="register-wc"Alternativ: wp="register_wc"WooCommerce new-user registration form.
wp="recover-wc"Alternativ: wp="recover_wc"WooCommerce password recovery form.
wp="update-user"Alternativ: wp="update_user"User-data edit form in the account dashboard.
wp="update-billing"Alternativ: wp="update_billing"Billing-address edit form in the account dashboard.
wp="update-password"Alternativ: wp="update_password"Password-change form in the account dashboard.
wp="logout-link"Alternativ: wp="logout_link"Logout link — href points to wp-login.php?action=logout with the correct nonce.
wp="orders"Order list for the current user — repeating block (loop).
wp="customer-files"Alternativ: wp="customer_files"List of downloadable files for the customer (digital products).
wp="customer-file-link"Alternativ: wp="customer_file_link"Download link for a specific customer file.
wp="term-title-link"Alternativ: wp="term_title_link"Taxonomy term title with a link to its archive — text + href in one.
wp="term-desc"Alternativ: wp="term_desc"Taxonomy term description — the «Description» field from the taxonomy admin.
wp="term-children"Alternativ: wp="term_children"Recursion-point marker inside wp-term-tree: container into which the generator inserts the nested-terms block (same structure as the parent). Any nesting depth.
wp="archive-title"Alternativ: wp="archive_title"Archive page title — category name, tag, author, date (depending on archive type).
wp="archive-title-link"Alternativ: wp="archive_title_link"Archive title with a link to the archive itself — text + href.
wp="sort"Sort selector container — usually a select with orderby options.
wp="orderby"Sort-order option inside sort. Values: date, price, popularity, etc.
wp="perpage"«Items per page» selector container for archives.
wp="filter"Product / post filter container — wrapper for filter forms.
wp="reset-filter"Alternativ: wp="reset_filter"Button to reset all applied filters.
wp="is-mobile"Alternativ: wp="is_mobile"Block renders only on mobile devices (phones + tablets).
wp="is-phone"Alternativ: wp="is_phone"Block renders only on phones (not tablets).
wp="is-tablet"Alternativ: wp="is_tablet"Block renders only on tablets.
wp="is-desktop"Alternativ: wp="is_desktop"Block renders only on desktops.
wp="is-not-phone"Alternativ: wp="is_not_phone"Block renders on all devices except phones (tablets + desktop).
wp="is-ios"Alternativ: wp="is_ios"Block renders only on iOS devices (iPhone, iPad).
wp="is-android"Alternativ: wp="is_android"Block renders only on Android devices.
wp="is-featured"Alternativ: wp="is_featured"Block renders only for «featured» WC products (is_featured flag).
wp="is-novelty"Alternativ: wp="is_novelty"Block renders only for «new arrivals» — recently published products.
wp="post-views"Alternativ: wp="post_views"Post view counter. Requires a compatible plugin (Post Views Counter, etc.).
wp="modified-date"Alternativ: wp="modified_date"Date the post was last modified
wp="has-excerpt"Alternativ: wp="has_excerpt"The block is shown only if the post has an excerpt
wp="post-comments"Alternativ: wp="post_comments"Post comments container — wrapper block (differs from wp="comments" which calls comments_template()).
wp="comment-list"Alternativ: wp="comment_list"Gibt die Kommentarliste mit DEINEM Markup statt der WordPress-Standardausgabe aus. Das erste Kind mit Kommentar-Markierungen wird zur Vorlage eines einzelnen Kommentars; Verschachtelung, Seiten und Moderation bleiben bei WordPress. Die Karte erhält id="comment-<ID>" und die Klasse tf-comment-depth-N — gestalte diese, um Antworten einzurücken: eine Antwort hat keinen eigenen Container.
wp="comment-author"Alternativ: wp="comment_author"Name des Kommentarautors. Innerhalb der Kommentar-Vorlage platzieren.
wp="comment-avatar"Alternativ: wp="comment_avatar"Avatar des Autors. Bei <img> wird src ersetzt (statische srcset/sizes werden entfernt, sonst bevorzugt der Browser sie), bei jedem anderen Element wird daraus ein Hintergrundbild.
wp="comment-date"Alternativ: wp="comment_date"Datum des Kommentars. Innerhalb der Kommentar-Vorlage platzieren.
wp="comment-text"Alternativ: wp="comment_text"Text des Kommentars. Innerhalb der Kommentar-Vorlage platzieren.
wp="comment-reply"Alternativ: wp="comment_reply"Der „Antworten“-Link. Behält dein Element und deine Klassen und erhält die echte Antwort-Adresse sowie die Datenattribute, die das eingebaute Antwort-Skript benötigt.
wp="comment-form"Alternativ: wp="comment_form"Baut das Kommentarformular aus DEINEM Feld-Markup. Das Formular selbst gibt weiterhin WordPress aus — dort liegen versteckte Felder, Plugin-Hooks und das Antwortverhalten —, deine markierten Blöcke werden zu Feldern, Textfeld und Button. Ein nicht markiertes Feld bleibt beim WordPress-Standard.
wp="comment-input-author"Alternativ: wp="comment_input_author"Das Feld „Name“ des Kommentarformulars. Markiere das Feld oder besser dessen Wrapper (Label + Feld + Hinweis) — das ganze markierte Element wird zum Feldblock.
wp="comment-input-email"Alternativ: wp="comment_input_email"Das Feld „E-Mail“ des Kommentarformulars.
wp="comment-input-url"Alternativ: wp="comment_input_url"Das Feld „Website“ des Kommentarformulars.
wp="comment-input-text"Alternativ: wp="comment_input_text"Das Textfeld des Kommentars.
wp="comment-submit"Alternativ: wp="comment_submit"Der Absenden-Button des Kommentarformulars. Dein Markup und deine Klassen bleiben erhalten.
wp="review-list"Alternativ: wp="review_list"Gibt WooCommerce-Produktbewertungen mit IHREM Markup aus. Eine Bewertung ist ein Kommentar plus Sterne, daher funktionieren die Kommentar-Markierungen in der Bewertungskarte unverändert. Alles im Block ist QUELLE: das erste Kind mit Bewertungs-/Kommentar-Markierungen wird zur Vorlage einer Bewertung, ein wp="review-form"-Block darin zu den Formularfeldern. Der Block selbst bleibt bei WooCommerce — Titel und Anzahl, Seiten, der Hinweis "Kauf erforderlich", Prüfung und Speichern.
wp="review-rating"Alternativ: wp="review_rating"Die Bewertung. Das Element erhält data-rating und die CSS-Variable --tf-rating, sodass ein Sternebalken rein per CSS gezeichnet werden kann (width: calc(var(--tf-rating) / 5 * 100%)). Ein LEERES Element bekommt die Zahl; eigenes Markup (deine Sterne) bleibt unangetastet.
wp="review-verified"Alternativ: wp="review_verified"Nur bei einer Bewertung von einem bestätigten Käufer sichtbar. Dein Markup, deine Klassen.
wp="review-form"Alternativ: wp="review_form"Das Bewertungsformular aus DEINEM Feld-Markup. Platziere es innerhalb von wp="review-list" — dort gibt WooCommerce das Formular aus. Felder nutzen die Kommentar-Markierungen (comment-input-author / -email / -text, comment-submit) plus review-input-rating.
wp="review-input-rating"Alternativ: wp="review_input_rating"Das Bewertungsfeld des Formulars (ein <select>). Ohne Optionen werden 1-5 ergänzt. Es wandert nie in das "fields"-Array: WordPress gibt dieses nur für abgemeldete Besucher aus, angemeldete Kunden würden die Bewertung verlieren.
wp="post-categories"Alternativ: wp="post_categories"Post categories as a link list. Alternative output format (vs. wp="post-category" which outputs a comma-separated list).
wp="post-bg-link"Alternativ: wp="post_bg_link"Wrap-link on the post card — turns the whole block into a clickable area pointing to post-link.
wp="parent-title-link"Alternativ: wp="parent_title_link"Parent page title with link — for hierarchical pages.
wp="home-link"Alternativ: wp="home_link"Alias of wp="home-url" — link to the site's home page.
wp="search-text"Alternativ: wp="search_text"Search query highlight in the results header («You searched for: ...»). Alternative to wp="search-query".
wp="clear"Utility marker: removes the element from DOM at build time while keeping its bound ACF/SCF fields in admin. For DOM cleanup without losing editability.
wp="delete-element"Alternativ: wp="delete_element"Synonym of wp="clear": removes the element from DOM at build time while keeping its bound ACF/SCF fields in admin (e.g. an empty tab-divider div).
Benutzerdefinierte Abfrage
A custom WP_Query loop
wp-query="'post_type' => 'name', 'posts_per_page' => 10"Alternativ: wp_queryVerwandelt das Element in eine Beitragsschleife (WP_Query) an beliebiger Stelle des Themes: Im Element steht die Karte EINES Beitrags, sie wiederholt sich für jedes Ergebnis. Parameter als PHP-Array-Paare, z. B. wp-query="'post_type'=>'news', 'posts_per_page'=>6". In der Schleife funktionieren wp="post-title", wp="post-image", Links und die fld-*-Felder des Beitrags.
Pagination & Queries
wp-paginate="parameters" / wp-paginate (no value)Alternativ: wp_paginateRenders pagination links for archives and search results via paginate_links(). Parameters (mid_size, end_size, prev/next text…) are passed in the value.
wp-paginate-query="query_name"Alternativ: wp_paginate_queryPagination for a named or custom query rather than the main loop — point it at the same query used by wp-query-name / a custom WP_Query.
wp-query-name="query-preset-name"Alternativ: wp_query_nameRuns a post loop from a named query preset defined in the theme panel — admins build the query once (post type, taxonomy, ordering) and reference it by name.
wp-product-query="get_related_products(4)" / "get_upsell_products(4)" / any PHP expression returning WP_Query argsAlternativ: wp_product_queryA WooCommerce loop over the results of a custom product query — related, upsell, cross-sell, or recently-viewed products. Carries WC product context inside.
wp-select="query_name"Alternativ: wp_selectBuilds a <select> from the results of a named query or an ACF repeater — useful for dynamically populated dropdowns.
Post Content & Meta
wp-post-id="prefix"Alternativ: wp_post_idOutputs the current post ID, optionally with a text prefix — handy for building unique anchors, form field names, or data attributes that need to reference the post.
wp-post-time="format"Alternativ: wp_post_timeOutputs the publish time of the current post via get_the_time(). Respects the site's date/time format settings. Must run inside The Loop.
wp-post-terms="taxonomy"Alternativ: wp_post_termsLists the names of all terms a post belongs to in a given taxonomy, joined by commas — e.g. all product categories or tags of the current item.
wp-post-term-desc="taxonomy"Alternativ: wp_post_term_descOutputs the description text of the post's first term in the given taxonomy. Useful for showing a short blurb under a category label.
wp-post-term-link="taxonomy"Alternativ: wp_post_term_linkSets the href to the archive link of the post's first term in the given taxonomy — turns the element into a clickable link to that category/tag.
wp-post-term-query="taxonomy"Alternativ: wp_post_term_queryLoops over the taxonomy terms the current post belongs to, rendering the inner markup once per term. Use it to print a list of category badges, each linked and styled.
wp-post-term-path="taxonomy"Alternativ: wp_post_term_pathRenders breadcrumbs from the term hierarchy of the post — the chain of ancestor terms down to the current one, each as a link. Ideal for category breadcrumb trails.
wp-count="singular, plural, plural (many)"Alternativ: wp_countOutputs a pluralised label with the result count — e.g. «12 products» / «1 product» — choosing the correct grammatical form for the number.
wp-attr-meta="Attribute name"Alternativ: wp_attr_metaLoops over a product's custom (non-taxonomy) WooCommerce attributes — the per-product attributes defined directly on the product rather than as global pa_* taxonomies.
Taxonomie-Terme des aktuellen Beitrags (wp-post-term)
Loop over the taxonomy terms of the current post
wp-post-term="product_cat" / "category" / "pa_color"Alternativ: wp_post_termThe first term of the current post in a taxonomy (category, post_tag, product_cat, pa_color…): name and link on an <a>, the name elsewhere. All terms as badges: wp-post-term-query; all in one line: wp-post-terms.
Comments
wp-comment-formAlternativ: wp_comment_formRenders the WordPress comment form for the current post via comment_form() — respects discussion settings and moderation rules.
wp-comment-listAlternativ: wp_comment_listRenders the list of comments for the current post — threaded replies, author avatars, and dates per theme settings.
Taxonomien
Taxonomie-Term-Abfrage (wp-term-query)
Loop over taxonomy terms (WP_Term_Query)
wp-term-query="product_cat" or wp-term-query="'taxonomy' => 'product_cat', 'parent' => 0"Alternativ: wp_term_queryLoop over taxonomy terms (WP_Term_Query / get_terms). Parameters either in short form («product_cat») or full string («'taxonomy' => 'product_cat', 'parent' => 0»). Inside, use term-title, term-link, term-count.
Terms & Taxonomies
wp-term-path="taxonomy"Alternativ: wp_term_pathRenders breadcrumbs for a taxonomy archive page — the ancestor chain of the currently queried term. Place it on the category/tag archive template.
wp-term-tree="taxonomy"Alternativ: wp_term_treeRenders a hierarchical tree of taxonomy terms with recursive nesting — parent terms with their children, to any depth. The first child element becomes the row template.
wp-term-query2="query parameters"Alternativ: wp_term_query2Nested term loop, level 2 — runs inside wp-term-tree / wp-term-query to render the children of the current term. Parent is set automatically from the outer loop.
wp-term-query3="query parameters"Alternativ: wp_term_query3Nested term loop, level 3 — the third level of a term hierarchy, nested inside a level-2 loop. Same auto-parent behaviour as level 2.
wp-term-select="preset-name"Alternativ: wp_term_selectLoops over terms from a named term-query preset configured in the theme panel — lets an admin define the term set once and reuse it across templates.
wp-menu-tree="Menu name"Alternativ: wp_menu_treeRenders a WordPress menu by name with your own markup: one pattern for a plain item and one for an item with a dropdown (wp-menu-tpl="link" / "drop"). Any depth: wp="menu-children" inside a sub-item prints the next level.
Conditional Blocks
wp-has-term="taxonomy" / wp-has-term="taxonomy:term-slug"Alternativ: wp_has_termConditional block — renders its contents only if the current post HAS at least one term in the given taxonomy (e.g. show a badge only for products in a sale category).
wp-has-not-term="taxonomy" / wp-has-not-term="taxonomy:term-slug"Alternativ: wp_has_not_termConditional block — renders its contents only if the current post does NOT have a term in the given taxonomy. The inverse of wp-has-term.
wp-set-php="attribute: php code"Alternativ: wp_set_phpSets an HTML attribute from a PHP expression — the value «name:php_code» becomes name="<result>" with the code evaluated and escaped at render.
WooCommerce (Shop)
WooCommerce Warenkorb (wp-cart)
Product fields in the WooCommerce cart loop
wp-cart="items"Alternativ: wp_cart="items"Cart items loop container — the generator expands a foreach over WC()->cart->get_cart() inside. Use product_title, product_qty, product_price, etc. within.
wp-cart="mini"Alternativ: wp_cart="mini"Mini cart (sidecart) — compact cart variant for the header or a dropdown block.
wp-cart="not_empty"Alternativ: wp_cart="not_empty"«Cart not empty» wrapper — the generator shows the block only when the cart has items. Paired with cart-empty.
wp-cart="empty"Alternativ: wp_cart="empty"«Cart is empty» wrapper — shown only when the cart has no items, the same block as wp="cart-empty". Paired with not_empty.
wp-cart="product_title"Alternativ: wp_cart="product_title"Product title in the cart row — same as the catalog product title.
wp-cart="product_link"Alternativ: wp_cart="product_link"Product permalink in the cart row — written into the href of an <a>.
wp-cart="product_image"Alternativ: wp_cart="product_image"Product image (src) in the cart row — thumbnail or a specifically assigned image.
wp-cart="product_bg_image"Alternativ: wp_cart="product_bg_image"Product image as background-image on the cart row element.
wp-cart="product_price"Alternativ: wp_cart="product_price"Unit price of a product in the cart that is not on sale; add product_price_sale and product_price_regular for discounted items.
wp-cart="product_price_regular"Alternativ: wp_cart="product_price_regular"Regular (struck-through) unit price of the product in cart.
wp-cart="product_price_sale"Alternativ: wp_cart="product_price_sale"Sale unit price of the product in cart.
wp-cart="product_qty"Alternativ: wp_cart="product_qty"Quantity input field for the cart item.
wp-cart="product_qty_minus"Alternativ: wp_cart="product_qty_minus"Decrement-quantity (-) button for the cart item.
wp-cart="product_qty_plus"Alternativ: wp_cart="product_qty_plus"Increment-quantity (+) button for the cart item.
wp-cart="product_remove"Alternativ: wp_cart="product_remove"Remove-from-cart button (usually a cross in the row).
wp-cart="product_total"Alternativ: wp_cart="product_total"Subtotal for the cart row (unit price × quantity).
wp-cart="product_excerpt"Alternativ: wp_cart="product_excerpt"Short product description in the cart row
wp-cart="product_sale_percent"Alternativ: wp_cart="product_sale_percent"Product discount percentage in the cart row
wp-cart="product_qty_text"Alternativ: wp_cart="product_qty_text"Product quantity as text (no input field)
wp-cart="product_weight"Alternativ: wp_cart="product_weight"Product weight in the cart row
wp-cart="product_height"Alternativ: wp_cart="product_height"Product height in the cart row
wp-cart="product_width"Alternativ: wp_cart="product_width"Product width in the cart row
wp-cart="product_length"Alternativ: wp_cart="product_length"Product length in the cart row
wp-cart="subtotal"Alternativ: wp_cart="subtotal"Cart subtotal (before discounts)
wp-cart="total"Alternativ: wp_cart="total"Cart total (after discounts)
wp-cart="volume"Alternativ: wp_cart="volume"Total volume of the products in the cart (m³)
wp-cart="mobile"Alternativ: wp_cart="mobile"Mobile version of the cart (the same AJAX-updated mini cart)
wp-cart="cart_order"Alternativ: wp_cart="cart_order"Container of the full cart order block (data-wc="full_cart")
wp-cart="remove_all"Alternativ: wp_cart="remove_all"Button that empties the whole cart
wp-cart="remove_btn"Alternativ: wp_cart="remove_btn"Button that removes the selected products
wp-cart="remove_item"Alternativ: wp_cart="remove_item"Checkbox that selects one product for removal
wp-cart="remove_items"Alternativ: wp_cart="remove_items"«Select all» checkbox for bulk removal
wp-cart="if_low_stock"Alternativ: wp_cart="if_low_stock"Conditional block: shown if the product is low in stock
wp-cart="low_stock"Alternativ: wp_cart="low_stock"The low-stock threshold of the product; works inside wp-cart="if_low_stock".
Produktattribut im Warenkorb (wp-cart-attr)
A WooCommerce product attribute in the cart loop
wp-cart-attr="pa_size" / "pa_color"Alternativ: wp_cart_attrOutputs the value of a WooCommerce product attribute in the cart loop. For example, the size or color of the product in the cart row. Value is the attribute slug (pa_size).
Bedingtes Attribut im Warenkorb (wp-cart-if-attr)
Conditional block inside the cart: shown only if the product in the cart has the attribute
wp-cart-if-attr="pa_size"Alternativ: wp_cart_if_attrConditional block in the cart context: render only when a cart item has the named attribute. The cart-row analogue of wp-if-attr.
WooCommerce Variations & Cart
wp-var-select="pa_attribute"Alternativ: wp_var_selectA variation <select> for a WooCommerce variable-product attribute — populates options from the product's variations and drives the add-to-cart variation picker.
wp-cart-term="taxonomy"Alternativ: wp_cart_termOutputs a taxonomy term of the product in a cart row — e.g. the category or a custom attribute term, shown next to each cart line item.
wp-cart-if-term="taxonomy:term" or wp-cart-if-term="term"Alternativ: wp_cart_if_termConditional block inside a cart row — renders its contents only if the line-item product has the given taxonomy term.
Produktattribut-Terme (wp-attr-terms)
Loop over the terms of a WooCommerce product attribute
wp-attr-terms="pa_size" / "pa_color" / "*"Alternativ: wp_attr_termsLoop over all terms of a WooCommerce product attribute. For example, iterates all sizes (pa_size) or all colors (pa_color). Used on the product page or in filters.
Bedingtes Produktattribut (wp-if-attr)
Conditional block: shown only if the product has the given attribute
wp-if-attr="pa_size"Alternativ: wp_if_attrConditional block: render only when the current product has the named attribute. If the attribute is missing — the whole block is hidden.
Conditional: Product Stock Status (wp-in-stock)
Conditional block: shown only for a product in stock (1) or out of stock (0)
wp-in-stock="1" / wp-in-stock="0"Alternativ: wp_in_stockConditional block by the product's stock status: with 1 it renders only for a product in stock, with 0 only for a product that is out of stock. Typical use — a buy form wrapped in 1 and an «Out of stock» notice wrapped in 0, so each product shows exactly one of them.
WooCommerce Bestellung (wp-order)
Order fields on the order details page (My Account)
wp-order="items"Alternativ: wp_order="items"Order items loop container — the generator expands a foreach over the order's line items (account dashboard).
wp-order="item_title"Alternativ: wp_order="item_title"Product title in the order row.
wp-order="item_link"Alternativ: wp_order="item_link"Product permalink in the order row.
wp-order="item_image"Alternativ: wp_order="item_image"Product image (src) in the order row.
wp-order="item_bg_image"Alternativ: wp_order="item_bg_image"Product image as background-image in the order row.
wp-order="item_price"Alternativ: wp_order="item_price"Unit price of the product at the time the order was placed.
wp-order="item_qty"Alternativ: wp_order="item_qty"Item quantity in the order.
wp-order="item_total"Alternativ: wp_order="item_total"Subtotal for the order row (unit price × quantity).
wp-order="item_number"Alternativ: wp_order="item_number"Position of the item in the order: 1, 2, 3 … Place it inside the wp_order="items" row — every row shows its own number.
wp-order="number"Alternativ: wp_order="number"Order number — short text identifier.
wp-order="date"Alternativ: wp_order="date"Order date in the theme's format.
wp-order="status"Alternativ: wp_order="status"Order status (pending, processing, completed, etc.) — label translated via WC.
wp-order="total"Alternativ: wp_order="total"Order total (items + shipping - discounts).
wp-order="delivery"Alternativ: wp_order="delivery"Shipping method selected when the order was placed.
wp-order="payment"Alternativ: wp_order="payment"Payment method selected when the order was placed.
Filters & Search
wp-filter-form="post_type"Alternativ: wp_filter_formTurns a Webflow form into a WooCommerce/WordPress filter form — submitting it filters the product/post archive by the contained fields (terms, ranges, search).
wp-range-slider="field_name"Alternativ: wp_range_sliderA range-slider UI control for a numeric filter (e.g. price). Pairs with wp-range-min / wp-range-max inputs inside the same filter form.
wp-range-min="suffix"Alternativ: wp_range_minThe minimum-value input of a range filter — its value seeds the lower bound of the filter (and reflects the current $_GET value on reload).
wp-range-max="suffix"Alternativ: wp_range_maxThe maximum-value input of a range filter — the upper bound, mirroring wp-range-min behaviour.
wp-checkbox-terms="taxonomy"Alternativ: wp_checkbox_termsRenders a checkbox list of taxonomy terms for a filter — each checkbox toggles one term in the archive query. The first checkbox row is the template.
wp-radio-terms="taxonomy"Alternativ: wp_radio_termsRenders a radio-button list of taxonomy terms for a filter — single-select variant of wp-checkbox-terms.
wp-select-terms="taxonomy"Alternativ: wp_select_termsRenders a <select> dropdown of taxonomy terms for a filter — the option list is populated from the taxonomy at render time.
pm__skuInput-Name — kein AttributNamenskonvention des Inputs für die SKU-Suche innerhalb eines Filterformulars — KEIN HTML-Attribut. Setz name="pm__sku" auf ein <input> innerhalb von wp-filter-form, und der Generator verbindet das Feld mit der SKU-Filterung.
Wunschliste
Wunschliste (Wishlist)
Alle Wishlist-Attribute an einem Ort: Container, Aktions-Buttons, Produktfelder und Variations-Direktiven. Kanonische Form zuerst — beide alternativen Schreibweisen werden akzeptiert.
Struktur & Zähler
wp="wish-list"Alternativ: wp="wish_list"Wunschliste-Container (YITH Wishlist) — Wrapper um die Produkttabelle. Innen wp="wish-items" mit der Schleife einsetzen.
wp="wish-items"Alternativ: wp="wish_items"/ wp="wl_full"Schleife über Produkte in der Wunschliste — wird für jedes gespeicherte Produkt wiederholt. Innen wp-wl="..." für Produktfelder verwenden.
wp="wish-count"Alternativ: wp="wish_count"/ wp="wl_count"Anzahl der Produkte in der Wunschliste des aktuellen Nutzers — aktualisiert beim Hinzufügen/Entfernen.
Aktions-Buttons
wp="wish-add"Alternativ: wp="wish_add"/ wp="add_to_wl"Herz-Button «Zur Wunschliste hinzufügen» — auf einem Produkt oder in einer Produktkarte platziert. Klick toggelt das Produkt per AJAX.
wp="wish-copy"Alternativ: wp="wish_copy"/ wp_wl="copy"Button «In Warenkorb kopieren» — fügt das Wunschlisten-Produkt in den Warenkorb, lässt es aber in der Wunschliste.
wp="wish-move"Alternativ: wp="wish_move"/ wp_wl="move"Button «In Warenkorb verschieben» — fügt in den Warenkorb und entfernt aus der Wunschliste in einer Aktion.
wp="wish-remove"Alternativ: wp="wish_remove"/ wp_wl="remove"Wunschliste-Entfernen-Button — meist ein Kreuz in der Zeile.
wp="wish-remove-all"Alternativ: wp="wish_remove_all"Button that empties the whole wishlist
Produktfelder (innerhalb der Wishlist-Schleife)
wp="wl-product-title"Alternativ: wp_wl="product_title"Produktname in einer Wunschlisten-Zeile — ausgegeben über get_name().
wp="wl-product-link"Alternativ: wp_wl="product_link"Produkt-Permalink — in das href eines <a> geschrieben.
wp="wl-product-image"Alternativ: wp_wl="product_image"Produktminiatur — URL in das src eines img injiziert.
wp="wl-product-bg-image"Alternativ: wp_wl="product_bg_image"Produktminiatur als Hintergrundbild — URL im inline background-image-Style.
wp="wl-product-price"Alternativ: wp_wl="product_price"Aktueller Produktpreis — bei Rabatt wird der Sale-Preis gezeigt, sonst der reguläre.
wp="wl-product-price-regular"Alternativ: wp_wl="product_price_regular"Regular (struck-through) wishlist product price. Name in the alternative format; alias of product_regular_price.
wp="wl-product-price-sale"Alternativ: wp_wl="product_price_sale"Sale wishlist product price. Name in the alternative format; alias of product_sale_price.
Variations- & Taxonomie-Direktiven
wp-wish-attr="pa_size" or wp-wish-attr="pa_color"Alternativ: wp_wish_attrWooCommerce-Produktattribut in der Wishlist-Schleife — z. B. Größe oder Farbe. Attributname ist pa_<slug> aus den Produkteinstellungen.
wp-wish-if-attr="pa_size"Alternativ: wp_wish_if_attrBedingter Block: nur rendern, wenn das Produkt das genannte Attribut hat. Fehlt es — Block ausgeblendet.
wp-wish-term="product_cat" or wp-wish-term="product_tag"Alternativ: wp_wish_termTaxonomie-Term des Produkts in der Wishlist-Schleife — Kategorie oder Tag (product_cat, product_tag).
wp-wish-if-term="product_cat"Alternativ: wp_wish_if_termConditional block: shown only if the product has a term of the taxonomy