{"id":1968,"date":"2024-10-09T11:37:52","date_gmt":"2024-10-09T03:37:52","guid":{"rendered":"https:\/\/www.openbyt.com\/xbox-boss-talks-project-scorpio-price-2"},"modified":"2024-10-17T19:54:11","modified_gmt":"2024-10-17T11:54:11","slug":"xbox-boss-talks-project-scorpio-price-2","status":"publish","type":"post","link":"https:\/\/www.openbyt.com\/de\/xbox-boss-spricht-uber-project-scorpio-preis-2","title":{"rendered":"Die Bedeutung von Kodierungsstandards verstehen"},"content":{"rendered":"<p>Kodierungsstandards sind wie die Grammatikregeln der Programmierung. Genauso wie eine korrekte Grammatik die geschriebene Sprache klar und verst\u00e4ndlich macht, sorgen Kodierungsstandards daf\u00fcr, dass Ihr Code konsistent und lesbar ist.<\/p><ul class=\"wp-block-list\"><li><strong>F\u00fcr Sie<\/strong>: Sie werden Ihren Code in Zukunft leichter lesen und aktualisieren k\u00f6nnen.<\/li>\n\n<li><strong>F\u00fcr Andere<\/strong>: Wenn Sie Ihren Code mit anderen teilen oder in einem Team arbeiten, werden andere die Klarheit zu sch\u00e4tzen wissen.<\/li>\n\n<li><strong>F\u00fcr WordPress<\/strong>: Da es sich um Open-Source handelt, tragen viele Menschen dazu bei. Standards halten alles einheitlich.<\/li><\/ul><figure class=\"wp-block-image size-full\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1024\" height=\"1024\" src=\"https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/DALL\u00b7E-2024-10-12-11.23.23-An-illustration-of-a-group-of-developers-collaborating-on-code.-The-developers-are-sitting-around-a-table-with-laptops-discussing-and-pointing-at-a-s.webp\" alt=\"\" class=\"wp-image-2430\" srcset=\"https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/DALL\u00b7E-2024-10-12-11.23.23-An-illustration-of-a-group-of-developers-collaborating-on-code.-The-developers-are-sitting-around-a-table-with-laptops-discussing-and-pointing-at-a-s.webp 1024w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/DALL\u00b7E-2024-10-12-11.23.23-An-illustration-of-a-group-of-developers-collaborating-on-code.-The-developers-are-sitting-around-a-table-with-laptops-discussing-and-pointing-at-a-s-600x600.webp 600w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/DALL\u00b7E-2024-10-12-11.23.23-An-illustration-of-a-group-of-developers-collaborating-on-code.-The-developers-are-sitting-around-a-table-with-laptops-discussing-and-pointing-at-a-s-100x100.webp 100w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/DALL\u00b7E-2024-10-12-11.23.23-An-illustration-of-a-group-of-developers-collaborating-on-code.-The-developers-are-sitting-around-a-table-with-laptops-discussing-and-pointing-at-a-s-300x300.webp 300w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/DALL\u00b7E-2024-10-12-11.23.23-An-illustration-of-a-group-of-developers-collaborating-on-code.-The-developers-are-sitting-around-a-table-with-laptops-discussing-and-pointing-at-a-s-150x150.webp 150w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/DALL\u00b7E-2024-10-12-11.23.23-An-illustration-of-a-group-of-developers-collaborating-on-code.-The-developers-are-sitting-around-a-table-with-laptops-discussing-and-pointing-at-a-s-768x768.webp 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure><p><strong>Reale Anwendung von Coding Standards in der Teamarbeit<\/strong><\/p><p>Stellen Sie sich vor, Sie arbeiten als Teil eines gro\u00dfen Teams an einem WordPress-Projekt. Jeder tr\u00e4gt einen anderen Teil des Codes bei - einige konzentrieren sich auf das Backend, andere auf das Styling und wieder andere auf die Barrierefreiheit. Ohne einheitliche Standards kann das Projekt schnell chaotisch werden. Kodierungsstandards stellen das sicher:<\/p><ul class=\"wp-block-list\"><li><strong>Reibungslose Zusammenarbeit<\/strong>: Wenn alle dieselben Regeln befolgen, ist es f\u00fcr die Entwickler einfacher, die Arbeit der anderen zu lesen und zu verstehen.<\/li>\n\n<li><strong>Weniger Zusammenf\u00fchrungskonflikte<\/strong>: Inkonsistente Formatierungen f\u00fchren oft zu Codekonflikten beim Zusammenf\u00fchren von \u00c4nderungen. Standards minimieren diese Konflikte und erm\u00f6glichen es dem Team, effizienter zu arbeiten.<\/li>\n\n<li><strong>Besseres Onboarding<\/strong>: Neue Entwickler, die dem Projekt beitreten, k\u00f6nnen sich schnell einarbeiten, indem sie einem standardisierten Kodierungsstil folgen, wodurch sich der Zeitaufwand f\u00fcr das Verst\u00e4ndnis des vorhandenen Codes verringert.<\/li><\/ul><figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1024\" height=\"1024\" src=\"https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/DALL\u00b7E-2024-10-12-11.23.27-An-illustration-of-a-group-of-developers-collaborating-on-code.-The-developers-are-sitting-around-a-table-with-laptops-discussing-and-pointing-at-a-s.webp\" alt=\"\" class=\"wp-image-2432\" srcset=\"https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/DALL\u00b7E-2024-10-12-11.23.27-An-illustration-of-a-group-of-developers-collaborating-on-code.-The-developers-are-sitting-around-a-table-with-laptops-discussing-and-pointing-at-a-s.webp 1024w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/DALL\u00b7E-2024-10-12-11.23.27-An-illustration-of-a-group-of-developers-collaborating-on-code.-The-developers-are-sitting-around-a-table-with-laptops-discussing-and-pointing-at-a-s-600x600.webp 600w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/DALL\u00b7E-2024-10-12-11.23.27-An-illustration-of-a-group-of-developers-collaborating-on-code.-The-developers-are-sitting-around-a-table-with-laptops-discussing-and-pointing-at-a-s-100x100.webp 100w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/DALL\u00b7E-2024-10-12-11.23.27-An-illustration-of-a-group-of-developers-collaborating-on-code.-The-developers-are-sitting-around-a-table-with-laptops-discussing-and-pointing-at-a-s-300x300.webp 300w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/DALL\u00b7E-2024-10-12-11.23.27-An-illustration-of-a-group-of-developers-collaborating-on-code.-The-developers-are-sitting-around-a-table-with-laptops-discussing-and-pointing-at-a-s-150x150.webp 150w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/DALL\u00b7E-2024-10-12-11.23.27-An-illustration-of-a-group-of-developers-collaborating-on-code.-The-developers-are-sitting-around-a-table-with-laptops-discussing-and-pointing-at-a-s-768x768.webp 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure><p>Stellen Sie sich ein Szenario vor, in dem ein Entwickler das Projekt verl\u00e4sst und ein neues Teammitglied seinen Part \u00fcbernehmen muss. Wenn der vorherige Entwickler die richtigen Codierungsstandards befolgt hat, kann das neue Mitglied schnell einsteigen, den Code pflegen und Verbesserungen vornehmen, ohne viel Zeit zu ben\u00f6tigen, um ihn zu verstehen.<\/p><hr class=\"wp-block-separator has-alpha-channel-opacity is-style-wide\"\/><p><strong>WordPress PHP-Codierungsstandards<\/strong><\/p><p>PHP ist die Kernsprache von WordPress. Die Einhaltung der PHP-Codierungsstandards stellt sicher, dass sich Ihr Code reibungslos in WordPress integrieren l\u00e4sst und f\u00fcr andere leicht verst\u00e4ndlich ist.<\/p><figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1024\" height=\"1024\" src=\"https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/DALL\u00b7E-2024-10-12-15.21.36-An-illustration-of-a-European-developer-working-on-PHP-for-WordPress.-The-developer-is-sitting-in-a-modern-workspace-coding-on-a-laptop-with-PHP-code.webp\" alt=\"\" class=\"wp-image-2459\" srcset=\"https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/DALL\u00b7E-2024-10-12-15.21.36-An-illustration-of-a-European-developer-working-on-PHP-for-WordPress.-The-developer-is-sitting-in-a-modern-workspace-coding-on-a-laptop-with-PHP-code.webp 1024w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/DALL\u00b7E-2024-10-12-15.21.36-An-illustration-of-a-European-developer-working-on-PHP-for-WordPress.-The-developer-is-sitting-in-a-modern-workspace-coding-on-a-laptop-with-PHP-code-600x600.webp 600w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/DALL\u00b7E-2024-10-12-15.21.36-An-illustration-of-a-European-developer-working-on-PHP-for-WordPress.-The-developer-is-sitting-in-a-modern-workspace-coding-on-a-laptop-with-PHP-code-100x100.webp 100w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/DALL\u00b7E-2024-10-12-15.21.36-An-illustration-of-a-European-developer-working-on-PHP-for-WordPress.-The-developer-is-sitting-in-a-modern-workspace-coding-on-a-laptop-with-PHP-code-300x300.webp 300w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/DALL\u00b7E-2024-10-12-15.21.36-An-illustration-of-a-European-developer-working-on-PHP-for-WordPress.-The-developer-is-sitting-in-a-modern-workspace-coding-on-a-laptop-with-PHP-code-150x150.webp 150w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/DALL\u00b7E-2024-10-12-15.21.36-An-illustration-of-a-European-developer-working-on-PHP-for-WordPress.-The-developer-is-sitting-in-a-modern-workspace-coding-on-a-laptop-with-PHP-code-768x768.webp 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure><p><strong>1. PHP-Tags: Verwenden Sie immer vollst\u00e4ndige PHP-Tags <code>&lt;?php ?&gt;<\/code>. Vermeiden Sie kurze Tags wie <code>&lt;? ?&gt;<\/code> weil sie m\u00f6glicherweise nicht auf allen Servern funktionieren.<\/strong><\/p><pre class=\"wp-block-code\"><code>&lt;?php\n\/\/ Your PHP code here\n?&gt;<\/code><\/pre><p><strong>2. die Dateikodierung: Speichern Sie Ihre PHP-Dateien in UTF-8 ohne Byte Order Mark (BOM).<\/strong><\/p><p><strong>3. zeilenenden: Verwenden Sie Zeilenenden im Unix-Stil (<code>\\n<\/code>).<\/strong><\/p><p><strong>4. die Einr\u00fcckung: Verwenden Sie Tabulatoren f\u00fcr die Einr\u00fcckung (keine Leerzeichen). So bleibt der Code in verschiedenen Editoren konsistent.<\/strong><\/p><p><strong>Benennungskonventionen<\/strong><\/p><p><strong>1. Funktionen und Methoden: Verwenden Sie Kleinbuchstaben und Unterstriche.<\/strong><\/p><pre class=\"wp-block-code\"><code>funk_benutzer_daten( 1TP4Benutzer_id ) {\n    \/\/ Funktionscode\n}<\/code><\/pre><p><strong>2. Variablen: Wie bei den Funktionen - Kleinbuchstaben und Unterstriche.<\/strong><\/p><pre class=\"wp-block-code\"><code>1TP4Benutzername = 'John Doe';<\/code><\/pre><p><strong>3.Klassen: Gro\u00dfgeschriebene W\u00f6rter verwenden (StudlyCaps).<\/strong><\/p><p>class UserProfile {<br>\/\/ Klassencode<br>}<\/p><p><strong>4 Konstanten: Alle Gro\u00dfbuchstaben mit Unterstrichen.<\/strong><\/p><pre class=\"wp-block-code\"><code>define( 'MAX_UPLOAD_SIZE', 1048576 );<\/code><\/pre><p><strong>Leerraum und Einr\u00fcckung<\/strong><\/p><p><strong>1. Leerzeichen nach Kommas: Wenn Sie Parameter oder Array-Elemente auflisten, f\u00fcgen Sie nach jedem Komma ein Leerzeichen ein.<\/strong><\/p><pre class=\"wp-block-code\"><code>$colors = array( 'rot', 'gr\u00fcn', 'blau' );<\/code><\/pre><p><strong>2. kontrollierende Strukturen: Setzen Sie ein Leerzeichen zwischen die Kontrollschl\u00fcsselw\u00f6rter und die \u00f6ffnende Klammer.<\/strong><\/p><pre class=\"wp-block-code\"><code>if ( $condition ) {\n    \/\/ Code\n}<\/code><\/pre><p><strong>3.Operatoren: F\u00fcgen Sie Leerzeichen um Zuweisungs-, Vergleichs- und logische Operatoren ein.<\/strong><\/p><pre class=\"wp-block-code\"><code>1TP4Gesamtbetrag = 1TP4Preis + 1TP4Steuer;\nwenn ( $otal &gt; 100 ) {\n    \/\/ Code\n}<\/code><\/pre><p><strong>Strukturen kontrollieren<\/strong><\/p><p><strong>1. die Platzierung der Klammern: Verwenden Sie den Allman-Stil, bei dem die erste Klammer auf einer neuen Zeile steht.<\/strong><\/p><pre class=\"wp-block-code\"><code>wenn ( $condition )\n{\n    \/\/ Code\n}\nsonst\n{\n    \/\/ Code\n}<\/code><\/pre><p><strong>2.<code>elseif<\/code>**Schl\u00fcsselwort**: Verwenden Sie <code>elseif<\/code> anstelle von <code>sonst wenn<\/code>.<\/strong><\/p><pre class=\"wp-block-code\"><code>wenn ( $condition )\n{\n    \/\/ Code\n}\nelseif ( $other_condition )\n{\n    \/\/ Code\n}<\/code><\/pre><p><strong>3.Yoda Bedingungen: Setzen Sie die Konstante oder das Literal auf die linke Seite von Vergleichen.<\/strong><\/p><pre class=\"wp-block-code\"><code>wenn ( true === $is_active )\n{\n    \/\/ Code\n}<\/code><\/pre><p>Dies hilft, eine versehentliche Zuweisung zu verhindern (<code>=<\/code> anstelle von <code>==<\/code>).<\/p><p><strong>Bew\u00e4hrte Praktiken<\/strong><\/p><p><strong>1. Vermeiden Sie verk\u00fcrzte PHP-Tags: Verwenden Sie f\u00fcr eine bessere Kompatibilit\u00e4t immer vollst\u00e4ndige Tags.<\/strong><\/p><p><strong>2. Funktionsargumente: Verwenden Sie eindeutige und beschreibende Variablennamen.<\/strong><\/p><pre class=\"wp-block-code\"><code>function berechne_summe( $eilsumme, $ax_rate ) {\n    \/\/ Code\n}<\/code><\/pre><p><strong>3. bereinigen Sie Eingaben: Bereinigen und validieren Sie Benutzereingaben immer.<\/strong><\/p><pre class=\"wp-block-code\"><code>$user_id = intval( $_GET['user_id'] );<\/code><\/pre><p><strong>4. Escape-Ausgaben: Bevor Sie Daten ausgeben, sollten Sie sie escapen, um Sicherheitsprobleme zu vermeiden.<\/strong><\/p><pre class=\"wp-block-code\"><code>echo esc_html( 1TP4Benutzer_name );<\/code><\/pre><p><strong>5.Kommentare: Verwenden Sie Kommentare, um komplexe Logik oder wichtige Hinweise zu erkl\u00e4ren.<\/strong><\/p><pre class=\"wp-block-code\"><code>\/\/ Berechnen Sie den Gesamtpreis mit Steuer<\/code><\/pre><hr class=\"wp-block-separator has-alpha-channel-opacity is-style-wide\"\/><p><strong>Standards f\u00fcr die Inline-Dokumentation<\/strong><\/p><p>Eine gute Dokumentation macht Ihren Code leichter verst\u00e4ndlich und wartbar.<\/p><p><strong>1) Funktionskommentare: F\u00fcgen Sie vor jeder Funktion einen Kommentarblock ein.<\/strong><\/p><pre class=\"wp-block-code\"><code>\/**\n * Berechnet den Gesamtpreis inklusive Steuern.\n *\n * @param float $subtotal Der Zwischensummenbetrag.\n * @param float $tax_rate Der Steuersatz als Dezimalwert.\n * @return float Der Gesamtpreis.\n *\/\nfunction berechne_gesamt( 1TP4Zwischensumme, 1TP4Steuer_satz ) {\n    \/\/ Funktionscode\n}<\/code><\/pre><p><strong>2. die Typen von Parametern und R\u00fcckgabewerten: Geben Sie den Typ jedes Parameters und des R\u00fcckgabewerts an.<\/strong><\/p><p><strong>3. inline-Kommentare: Verwenden Sie sie sparsam, um komplexe Teile Ihres Codes zu erkl\u00e4ren.<\/strong><\/p><pre class=\"wp-block-code\"><code>$discount = 0.0; \/\/ Initialisierung der Rabattvariable<\/code><\/pre><hr class=\"wp-block-separator has-alpha-channel-opacity is-style-wide\"\/><p><strong>HTML-Codierungsstandards in WordPress<\/strong><\/p><p>HTML ist das R\u00fcckgrat des Webinhalts. Das Schreiben von sauberem und semantischem HTML ist entscheidend f\u00fcr die Zug\u00e4nglichkeit und SEO.<\/p><figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"1024\" src=\"https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/DALL\u00b7E-2024-10-12-15.18.29-An-illustration-showing-HTML-coding-standards-for-WordPress.-The-image-features-a-laptop-displaying-HTML-code-with-proper-indentation-semantic-tags-l.webp\" alt=\"\" class=\"wp-image-2457\" srcset=\"https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/DALL\u00b7E-2024-10-12-15.18.29-An-illustration-showing-HTML-coding-standards-for-WordPress.-The-image-features-a-laptop-displaying-HTML-code-with-proper-indentation-semantic-tags-l.webp 1024w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/DALL\u00b7E-2024-10-12-15.18.29-An-illustration-showing-HTML-coding-standards-for-WordPress.-The-image-features-a-laptop-displaying-HTML-code-with-proper-indentation-semantic-tags-l-600x600.webp 600w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/DALL\u00b7E-2024-10-12-15.18.29-An-illustration-showing-HTML-coding-standards-for-WordPress.-The-image-features-a-laptop-displaying-HTML-code-with-proper-indentation-semantic-tags-l-100x100.webp 100w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/DALL\u00b7E-2024-10-12-15.18.29-An-illustration-showing-HTML-coding-standards-for-WordPress.-The-image-features-a-laptop-displaying-HTML-code-with-proper-indentation-semantic-tags-l-300x300.webp 300w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/DALL\u00b7E-2024-10-12-15.18.29-An-illustration-showing-HTML-coding-standards-for-WordPress.-The-image-features-a-laptop-displaying-HTML-code-with-proper-indentation-semantic-tags-l-150x150.webp 150w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/DALL\u00b7E-2024-10-12-15.18.29-An-illustration-showing-HTML-coding-standards-for-WordPress.-The-image-features-a-laptop-displaying-HTML-code-with-proper-indentation-semantic-tags-l-768x768.webp 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure><p><strong>Allgemeine Richtlinien<\/strong><\/p><p><strong>1. doctype: Beginnen Sie immer mit dem HTML5-Doctype.<\/strong><\/p><pre class=\"wp-block-code\"><code>&lt;!DOCTYPE html&gt;<\/code><\/pre><p><strong>2. das Attribut Sprache: Geben Sie die Sprache im Feld <code>&lt;html&gt;<\/code> Tag.<\/strong><br><\/p><pre class=\"wp-block-code\"><code>&lt;html lang=&quot;en&quot;&gt;<\/code><\/pre><p><strong>3. die Zeichenkodierung: Verwenden Sie die Kodierung UTF-8.<\/strong><\/p><pre class=\"wp-block-code\"><code>&lt;meta charset=\"UTF-8\"&gt;<\/code><\/pre><p>Strukturierung Ihres HTML<\/p><p><strong>1. semantische Elemente: Verwenden Sie semantische HTML5-Elemente wie <code>&lt;header&gt;<\/code>, <code><nav><\/code>, <code>&lt;section&gt;<\/code>, <code>&lt;article&gt;<\/code>, <code>&lt;footer&gt;<\/code>.<\/strong><\/p><pre class=\"wp-block-code\"><code><!-- Inhalt der Kopfzeile -->\n<\/header>\n<nav>\n    <!-- Navigationslinks -->\n<\/nav>\n<main>\n    <!-- Hauptinhalt -->\n<\/main>\n<footer>\n    <!-- Inhalt der Fu\u00dfzeile -->\n<\/footer><\/code><\/pre><p><strong>2. die Einr\u00fcckung: Verwenden Sie zwei Leerzeichen (oder Tabulatoren, wenn Sie es vorziehen), um verschachtelte Elemente einzur\u00fccken.<\/strong><\/p><pre class=\"wp-block-code\"><code><ul>\n    <li>Posten 1<\/li>\n    <li>Posten 2<\/li>\n<\/ul><\/code><\/pre><p><strong>3.Attribute: Verwenden Sie Kleinbuchstaben f\u00fcr Attributnamen und schlie\u00dfen Sie Attributwerte in doppelte Anf\u00fchrungszeichen ein.<\/strong><\/p><pre class=\"wp-block-code\"><code>&lt;img src=&quot;image.jpg&quot; alt=&quot;Ein gro&szlig;artiges Bild&quot;&gt;<\/code><\/pre><p><strong>Bew\u00e4hrte Praktiken<\/strong><\/p><p><strong>1. die Zug\u00e4nglichkeit: Immer enthalten <code>alt<\/code> Attribute f\u00fcr Bilder und verwenden Sie gegebenenfalls ARIA-Rollen.<\/strong><\/p><pre class=\"wp-block-code\"><code>&lt;img src=&quot;logo.png&quot; alt=&quot;Firmenlogo&quot;&gt;<\/code><\/pre><p><strong>2. selbst-schlie\u00dfende Tags: F\u00fcr HTML5 brauchen Sie keine selbstschlie\u00dfenden leeren Elemente wie <code>&lt;br&gt;<\/code>, <code>&lt;img&gt;<\/code>, <code>&lt;input&gt;<\/code>.<\/strong><\/p><pre class=\"wp-block-code\"><code>&lt;br&gt;\n&lt;img src=&quot;image.jpg&quot; alt=&quot;Beschreibung&quot;&gt;<\/code><\/pre><p><strong>3. Kommentare: Verwenden Sie bei Bedarf HTML-Kommentare, um Abschnitte Ihres Codes zu erl\u00e4utern.<\/strong><\/p><pre class=\"wp-block-code\"><code><!-- Hauptnavigation -->\n<nav>\n    <!-- Navigationslinks -->\n<\/nav><\/code><\/pre><hr class=\"wp-block-separator has-alpha-channel-opacity is-style-wide\"\/><p><strong>CSS-Codierungsstandards in WordPress<\/strong><\/p><p>CSS steuert die Pr\u00e4sentation Ihrer Website. Wenn Sie sauberes und effizientes CSS schreiben, sieht Ihre Website gut aus und l\u00e4dt schneller.<\/p><p><strong>Allgemeine Richtlinien<\/strong><\/p><figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"1024\" src=\"https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/DALL\u00b7E-2024-10-12-15.16.31-A-visual-representation-of-writing-clean-CSS.-The-image-shows-a-laptop-screen-displaying-clean-well-organized-CSS-code-with-proper-indentation-comme.webp\" alt=\"\" class=\"wp-image-2455\" srcset=\"https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/DALL\u00b7E-2024-10-12-15.16.31-A-visual-representation-of-writing-clean-CSS.-The-image-shows-a-laptop-screen-displaying-clean-well-organized-CSS-code-with-proper-indentation-comme.webp 1024w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/DALL\u00b7E-2024-10-12-15.16.31-A-visual-representation-of-writing-clean-CSS.-The-image-shows-a-laptop-screen-displaying-clean-well-organized-CSS-code-with-proper-indentation-comme-600x600.webp 600w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/DALL\u00b7E-2024-10-12-15.16.31-A-visual-representation-of-writing-clean-CSS.-The-image-shows-a-laptop-screen-displaying-clean-well-organized-CSS-code-with-proper-indentation-comme-100x100.webp 100w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/DALL\u00b7E-2024-10-12-15.16.31-A-visual-representation-of-writing-clean-CSS.-The-image-shows-a-laptop-screen-displaying-clean-well-organized-CSS-code-with-proper-indentation-comme-300x300.webp 300w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/DALL\u00b7E-2024-10-12-15.16.31-A-visual-representation-of-writing-clean-CSS.-The-image-shows-a-laptop-screen-displaying-clean-well-organized-CSS-code-with-proper-indentation-comme-150x150.webp 150w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/DALL\u00b7E-2024-10-12-15.16.31-A-visual-representation-of-writing-clean-CSS.-The-image-shows-a-laptop-screen-displaying-clean-well-organized-CSS-code-with-proper-indentation-comme-768x768.webp 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure><p><strong>1. die Syntax: Befolgen Sie die Standard-CSS-Syntax - Selektor, geschweifte Klammern, Eigenschaft-Wert-Paare.<\/strong><\/p><pre class=\"wp-block-code\"><code>.class-selector {\n    Eigenschaft: value;\n}<\/code><\/pre><p><strong>2. die Einr\u00fcckung: Verwenden Sie zwei Leerzeichen (oder Tabulatoren) f\u00fcr die Einr\u00fcckung innerhalb von Regeln.<\/strong><\/p><p><strong>3.Kommentare: Verwenden Sie Kommentare, um Abschnitte zu trennen und komplexe Regeln zu erkl\u00e4ren.<\/strong><\/p><pre class=\"wp-block-code\"><code>\/* Kopfzeilen-Stile *\/\nKopfzeile {\n    \/* Eigenschaften *\/\n}<\/code><\/pre><p><strong>Sauberes CSS schreiben<\/strong><\/p><p><strong>1. die Namen der Selektoren: Verwenden Sie Kleinbuchstaben und Bindestriche.<\/strong><\/p><pre class=\"wp-block-code\"><code>.main-navigation {\n    \/* Formatvorlagen *\/\n}<\/code><\/pre><p><strong>2. vermeiden Sie IDs f\u00fcr das Styling: Verwenden Sie Klassen anstelle von IDs, um die Spezifit\u00e4t gering zu halten.<\/strong><\/p><pre class=\"wp-block-code\"><code>\/* Richtig *\/\n.button {\n    \/* Stile *\/\n}\n\n\/* Vermeiden *\/\n#submit-button {\n    \/* Formatvorlagen *\/\n}<\/code><\/pre><p><strong>3. shorthand Eigenschaften: Verwenden Sie nach M\u00f6glichkeit Shorthand-Eigenschaften.<\/strong><\/p><pre class=\"wp-block-code\"><code>\/* Richtig *\/\nRand: 10px 5px 15px 0;\n\n\/* Erweitert *\/\nmargin-top: 10px;\nmargin-right: 5px;\nmargin-bottom: 15px;\nmargin-left: 0;<\/code><\/pre><p><strong>4. Nullwerte: Lassen Sie die Einheiten f\u00fcr Nullwerte weg.<\/strong><\/p><pre class=\"wp-block-code\"><code>padding: 0;<\/code><\/pre><p>Bew\u00e4hrte Praktiken<\/p><p><strong>1. organisieren Sie Stile: Gruppieren Sie verwandte Stile zusammen, z. B. Layout, Typografie, Farben.<\/strong><\/p><p><strong>2. Kommentare f\u00fcr Abschnitte: Verwenden Sie Kommentare, um Ihr Stylesheet in Abschnitte zu unterteilen.<\/strong><\/p><p>\/* Typografie <em>\/ \/<\/em> Farben <em>\/ \/<\/em> Layout *\/<\/p><p><strong>3.Vermeiden Sie !important: Verwenden Sie Spezifit\u00e4t anstelle von <code>!wichtig<\/code> um Stile au\u00dfer Kraft zu setzen.<\/strong><\/p><p><strong>4) Medienabfragen: Platzieren Sie Medienabfragen in der N\u00e4he der zugeh\u00f6rigen Stile oder in einem separaten Abschnitt.<\/strong><\/p><pre class=\"wp-block-code\"><code>@media (max-width: 768px) {\n    .main-navigation {\n        Anzeige: keine;\n    }\n}<\/code><\/pre><hr class=\"wp-block-separator has-alpha-channel-opacity is-style-wide\"\/><p><strong>Empfohlene Tools und Plugins<\/strong><\/p><p>Um sicherzustellen, dass Sie die WordPress-Codierungsstandards einhalten, sollten Sie die folgenden Tools verwenden:<\/p><ol class=\"wp-block-list\"><li><strong>PHP CodeSniffer<\/strong>: Mit diesem Tool k\u00f6nnen Sie Verst\u00f6\u00dfe gegen die WordPress PHP-Codierungsstandards aufsp\u00fcren. Sie k\u00f6nnen es zusammen mit dem WordPress Coding Standards Regelsatz verwenden, um Ihren Code automatisch zu \u00fcberpr\u00fcfen.<\/li>\n\n<li><strong>EditorConfig<\/strong>: Viele IDEs und Code-Editoren unterst\u00fctzen .editorconfig-Dateien, die dabei helfen, konsistente Codierungsstile zwischen verschiedenen Editoren und Entwicklern zu erhalten.<\/li>\n\n<li><strong>ESLint und Stylelint<\/strong>: Verwenden Sie diese Tools zum Linting von JavaScript und CSS, um h\u00e4ufige Fehler zu finden und die Konsistenz zu gew\u00e4hrleisten.<\/li>\n\n<li><strong>H\u00fcbscher<\/strong>: Ein Code-Formatierer, der automatisch einen konsistenten Stil f\u00fcr HTML, CSS und JavaScript erzwingen kann, was es f\u00fcr Teams einfacher macht, einen einheitlichen Code-Stil zu pflegen.<\/li>\n\n<li><strong>VSCode-Erweiterungen<\/strong>:<ul class=\"wp-block-list\"><li><strong>PHP-Intelefonie<\/strong>: Bietet intelligente Autovervollst\u00e4ndigung und Funktionshinweise und erkennt m\u00f6gliche Probleme.<\/li>\n\n<li><strong>WordPress Schnipsel<\/strong>: Eine Sammlung h\u00e4ufig verwendeter WordPress-Funktionen und -Snippets zur Beschleunigung der Entwicklung.<\/li><\/ul><\/li><\/ol><figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"1024\" src=\"https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/DALL\u00b7E-2024-10-12-15.56.28-An-illustration-of-coding-tools-and-plugins-for-WordPress-development.-The-image-shows-a-developers-workspace-with-a-laptop-screen-displaying-various.webp\" alt=\"\" class=\"wp-image-2462\" srcset=\"https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/DALL\u00b7E-2024-10-12-15.56.28-An-illustration-of-coding-tools-and-plugins-for-WordPress-development.-The-image-shows-a-developers-workspace-with-a-laptop-screen-displaying-various.webp 1024w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/DALL\u00b7E-2024-10-12-15.56.28-An-illustration-of-coding-tools-and-plugins-for-WordPress-development.-The-image-shows-a-developers-workspace-with-a-laptop-screen-displaying-various-600x600.webp 600w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/DALL\u00b7E-2024-10-12-15.56.28-An-illustration-of-coding-tools-and-plugins-for-WordPress-development.-The-image-shows-a-developers-workspace-with-a-laptop-screen-displaying-various-100x100.webp 100w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/DALL\u00b7E-2024-10-12-15.56.28-An-illustration-of-coding-tools-and-plugins-for-WordPress-development.-The-image-shows-a-developers-workspace-with-a-laptop-screen-displaying-various-300x300.webp 300w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/DALL\u00b7E-2024-10-12-15.56.28-An-illustration-of-coding-tools-and-plugins-for-WordPress-development.-The-image-shows-a-developers-workspace-with-a-laptop-screen-displaying-various-150x150.webp 150w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/DALL\u00b7E-2024-10-12-15.56.28-An-illustration-of-coding-tools-and-plugins-for-WordPress-development.-The-image-shows-a-developers-workspace-with-a-laptop-screen-displaying-various-768x768.webp 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure><hr class=\"wp-block-separator has-alpha-channel-opacity is-style-wide\"\/><p><strong>H\u00e4ufig zu vermeidende Fehler<\/strong><\/p><p><strong>1. inkonsistente Namensgebung:<\/strong> Die Vermischung von camelCase und snake_case kann zu Verwechslungen f\u00fchren, halten Sie sich also in Ihrem Projekt an die vorgeschriebenen Namenskonventionen.<\/p><p><strong>2.<\/strong>Ausgabe nicht escapen: Geben Sie nutzergenerierte Inhalte vor der Ausgabe immer in Escapeschrift aus, um Sicherheitsl\u00fccken wie XSS zu vermeiden.<\/p><pre class=\"wp-block-code\"><code>\/\/ Richtig\necho esc_html( $user_input );\n\n\/\/ Falsch\necho 1TP4Benutzer_Eingabe;<\/code><\/pre><p><strong>3. unsachgem\u00e4\u00dfe Verwendung von Globals<\/strong>: Vermeiden Sie die Verwendung globaler Variablen, es sei denn, es ist notwendig. \u00dcbergeben Sie stattdessen Variablen explizit an Funktionen, um Ihren Code modular zu halten und ihn besser testen zu k\u00f6nnen.<\/p><p>4.<strong>Inline-Stile verwenden<\/strong>: Inline-Stile sollten vermieden werden, da sie die Pflege und das \u00dcberschreiben von CSS erschweren. Verwenden Sie immer externe Stylesheets.<\/p><figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"1024\" src=\"https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/DALL\u00b7E-2024-10-12-16.10.55-An-illustration-showing-common-coding-errors-to-avoid-in-WordPress-development.-The-image-features-a-laptop-screen-with-PHP-code-examples-demonstratin.webp\" alt=\"\" class=\"wp-image-2465\" srcset=\"https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/DALL\u00b7E-2024-10-12-16.10.55-An-illustration-showing-common-coding-errors-to-avoid-in-WordPress-development.-The-image-features-a-laptop-screen-with-PHP-code-examples-demonstratin.webp 1024w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/DALL\u00b7E-2024-10-12-16.10.55-An-illustration-showing-common-coding-errors-to-avoid-in-WordPress-development.-The-image-features-a-laptop-screen-with-PHP-code-examples-demonstratin-600x600.webp 600w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/DALL\u00b7E-2024-10-12-16.10.55-An-illustration-showing-common-coding-errors-to-avoid-in-WordPress-development.-The-image-features-a-laptop-screen-with-PHP-code-examples-demonstratin-100x100.webp 100w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/DALL\u00b7E-2024-10-12-16.10.55-An-illustration-showing-common-coding-errors-to-avoid-in-WordPress-development.-The-image-features-a-laptop-screen-with-PHP-code-examples-demonstratin-300x300.webp 300w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/DALL\u00b7E-2024-10-12-16.10.55-An-illustration-showing-common-coding-errors-to-avoid-in-WordPress-development.-The-image-features-a-laptop-screen-with-PHP-code-examples-demonstratin-150x150.webp 150w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/DALL\u00b7E-2024-10-12-16.10.55-An-illustration-showing-common-coding-errors-to-avoid-in-WordPress-development.-The-image-features-a-laptop-screen-with-PHP-code-examples-demonstratin-768x768.webp 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure><hr class=\"wp-block-separator has-alpha-channel-opacity is-style-wide\"\/><p><strong>Alles zusammenf\u00fcgen<\/strong><\/p><p>Schauen wir uns ein Beispiel an, das PHP, HTML und CSS gem\u00e4\u00df den WordPress-Codierungsstandards kombiniert.<\/p><h3 class=\"wp-block-heading\">Beispiel: Eine einfache PHP-Vorlage<\/h3><p><strong>PHP-Datei (template-example.php)<\/strong>:<\/p><pre class=\"wp-block-code\"><code>&lt;?php\n\/**\n * Template Name: Example Template\n *\n * A template to demonstrate coding standards.\n *\n * @package WordPress\n * @subpackage Your_Theme\n *\/\n\nget_header(); ?&gt;\n\n&lt;main id=&quot;main-content&quot; class=&quot;site-main&quot;&gt;\n    &lt;?php\n    if ( have_posts() ) :\n        while ( have_posts() ) :\n            the_post(); ?&gt;\n\n            &lt;article id=&quot;post-&lt;?php the_ID(); ?&gt;&quot; no numeric noise key 1006&gt;\n                &lt;header class=&quot;entry-header&quot;&gt;\n                    &lt;?php the_title( '&lt;h1&gt;', '&lt;\/h1&gt;' ); ?&gt;\n                &lt;\/header&gt;\n\n                &lt;div class=&quot;entry-content&quot;&gt;\n                    &lt;?php the_content(); ?&gt;\n                &lt;\/div&gt;\n            &lt;\/article&gt;\n\n        &lt;?php endwhile;\n    else : ?&gt;\n\n        &lt;p&gt;&lt;?php esc_html_e( 'Sorry, no posts matched your criteria.', 'your-text-domain' ); ?&gt;&lt;\/p&gt;\n\n    &lt;?php endif; ?&gt;\n&lt;\/main&gt;\n\n&lt;?php get_footer(); ?&gt;<\/code><\/pre><p><strong>CSS-Datei (<\/strong><code><strong>style.css<\/strong><\/code><strong>)<\/strong>:<\/p><pre class=\"wp-block-code\"><code>\/* Hauptinhaltsstile *\/\n.site-main {\n    margin: 0 auto;\n    max-width: 800px;\n    padding: 20px;\n}\n\n.entry-header h1 {\n    Schriftgr\u00f6\u00dfe: 2em;\n    margin-bottom: 0.5em;\n}\n\n.entry-content {\n    Zeilenh\u00f6he: 1.6;\n}<\/code><\/pre><hr class=\"wp-block-separator has-alpha-channel-opacity is-style-wide\"\/><p><strong>Zus\u00e4tzliche Ressourcen<\/strong><\/p><ul class=\"wp-block-list\"><li><strong>Handbuch f\u00fcr WordPress-Entwickler<\/strong>: <a>entwickler.wordpress.org<\/a><\/li>\n\n<li><strong>PHP-Dokumentation<\/strong>: <a href=\"https:\/\/www.php.net\/docs.php\" target=\"_blank\" rel=\"noopener\">php.net<\/a><\/li>\n\n<li><strong>Mozilla Entwickler-Netzwerk (MDN) Web Docs<\/strong>:<ul class=\"wp-block-list\"><li><a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/HTML\" target=\"_blank\" rel=\"noopener\">HTML<\/a><\/li>\n\n<li><a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/CSS\" target=\"_blank\" rel=\"noopener\">CSS<\/a><\/li>\n\n<li><a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/JavaScript\" target=\"_blank\" rel=\"noopener\">JavaScript<\/a><\/li><\/ul><\/li>\n\n<li><strong>W3C Markup Validation Service<\/strong>: <a href=\"https:\/\/validator.w3.org\/\" target=\"_blank\" rel=\"noopener\">validator.w3.org<\/a><\/li>\n\n<li><strong>WordPress Kodierungsstandards<\/strong>:<ul class=\"wp-block-list\"><li><a>PHP-Standards<\/a><\/li>\n\n<li><a>HTML-Standards<\/a><\/li>\n\n<li><a>CSS-Standards<\/a><\/li><\/ul><\/li><\/ul><figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"1024\" src=\"https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/DALL\u00b7E-2024-10-12-16.15.32-An-illustration-of-a-collection-of-web-development-resources-such-as-books-and-web-pages.-The-image-includes-visual-representations-of-online-documen.webp\" alt=\"\" class=\"wp-image-2470\" srcset=\"https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/DALL\u00b7E-2024-10-12-16.15.32-An-illustration-of-a-collection-of-web-development-resources-such-as-books-and-web-pages.-The-image-includes-visual-representations-of-online-documen.webp 1024w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/DALL\u00b7E-2024-10-12-16.15.32-An-illustration-of-a-collection-of-web-development-resources-such-as-books-and-web-pages.-The-image-includes-visual-representations-of-online-documen-600x600.webp 600w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/DALL\u00b7E-2024-10-12-16.15.32-An-illustration-of-a-collection-of-web-development-resources-such-as-books-and-web-pages.-The-image-includes-visual-representations-of-online-documen-100x100.webp 100w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/DALL\u00b7E-2024-10-12-16.15.32-An-illustration-of-a-collection-of-web-development-resources-such-as-books-and-web-pages.-The-image-includes-visual-representations-of-online-documen-300x300.webp 300w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/DALL\u00b7E-2024-10-12-16.15.32-An-illustration-of-a-collection-of-web-development-resources-such-as-books-and-web-pages.-The-image-includes-visual-representations-of-online-documen-150x150.webp 150w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/DALL\u00b7E-2024-10-12-16.15.32-An-illustration-of-a-collection-of-web-development-resources-such-as-books-and-web-pages.-The-image-includes-visual-representations-of-online-documen-768x768.webp 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure><hr class=\"wp-block-separator has-alpha-channel-opacity is-style-wide\"\/><h2 class=\"wp-block-heading\">Fazit<\/h2><p>Die Einhaltung der WordPress-Codierungsstandards gew\u00e4hrleistet, dass Ihr Code sauber, konsistent und professionell ist. Das hilft Ihnen bei der Pflege Ihrer Projekte und erleichtert anderen in der WordPress-Community die Zusammenarbeit mit Ihnen.<\/p><p>Denken Sie daran:<\/p><ul class=\"wp-block-list\"><li><strong>\u00dcbung macht den Meister<\/strong>: Je mehr Sie nach diesen Standards kodieren, desto selbstverst\u00e4ndlicher wird es werden.<\/li>\n\n<li><strong>Bleiben Sie auf dem Laufenden<\/strong>: Die Coding-Standards entwickeln sich weiter, daher sollten Sie die offizielle WordPress-Dokumentation im Auge behalten.<\/li>\n\n<li><strong>Bitten Sie um Hilfe<\/strong>: Wenn Sie Fragen haben, ist die WordPress-Community freundlich und hilfsbereit.<\/li><\/ul><p>Viel Spa\u00df beim Codieren!<\/p>","protected":false},"excerpt":{"rendered":"<p>Kodierungsstandards sind wie die Grammatikregeln der Programmierung. So wie eine korrekte Grammatik die geschriebene Sprache klar und verst\u00e4ndlich macht, sorgen Kodierungsstandards daf\u00fcr, dass Ihr Code konsistent...<\/p>","protected":false},"author":1,"featured_media":2475,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[36,83],"tags":[218,217,219,216],"class_list":["post-1968","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-dev-tips","category-developer-tips","tag-css-best-practices","tag-php-code-guidelines","tag-team-collaboration-consistency","tag-wordpress-coding-standards",""],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.openbyt.com\/de\/wp-json\/wp\/v2\/posts\/1968","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.openbyt.com\/de\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.openbyt.com\/de\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.openbyt.com\/de\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.openbyt.com\/de\/wp-json\/wp\/v2\/comments?post=1968"}],"version-history":[{"count":19,"href":"https:\/\/www.openbyt.com\/de\/wp-json\/wp\/v2\/posts\/1968\/revisions"}],"predecessor-version":[{"id":3189,"href":"https:\/\/www.openbyt.com\/de\/wp-json\/wp\/v2\/posts\/1968\/revisions\/3189"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.openbyt.com\/de\/wp-json\/wp\/v2\/media\/2475"}],"wp:attachment":[{"href":"https:\/\/www.openbyt.com\/de\/wp-json\/wp\/v2\/media?parent=1968"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.openbyt.com\/de\/wp-json\/wp\/v2\/categories?post=1968"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.openbyt.com\/de\/wp-json\/wp\/v2\/tags?post=1968"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}