{"id":134,"date":"2024-01-16T00:00:00","date_gmt":"2024-01-15T23:00:00","guid":{"rendered":"https:\/\/helloblog.io\/de\/acorn-prettify-soil-nachfolger-wordpress\/"},"modified":"2026-01-20T06:32:39","modified_gmt":"2026-01-20T05:32:39","slug":"acorn-prettify-soil-nachfolger-wordpress","status":"publish","type":"post","link":"https:\/\/helloblog.io\/de\/acorn-prettify-soil-nachfolger-wordpress\/","title":{"rendered":"Acorn Prettify: Der Soil-Nachfolger f\u00fcr ein aufger\u00e4umteres WordPress"},"content":{"rendered":"\n<p>Im Roots-\u00d6kosystem war <strong>Soil<\/strong> lange so etwas wie der kleine Werkzeugkasten, den man fast automatisch mitinstalliert hat: ein paar sinnvolle Defaults, saubereres Markup, bessere Suche \u2013 Dinge, die man in WordPress-Projekten immer wieder braucht. Mit <strong>Acorn Prettify<\/strong> gibt es jetzt den offiziellen Nachfolger, der diese Kernfunktionen weiterf\u00fchrt \u2013 und gleichzeitig klar macht, wohin die Reise geht: Roots setzt \u201eall-in\u201c auf <strong>Acorn<\/strong> (das Laravel-inspirierte Application-Framework innerhalb von WordPress).<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Was ist Acorn Prettify \u2013 und warum ersetzt es Soil?<\/h2>\n\n\n\n<p><strong>Acorn Prettify<\/strong> ist ein Paket aus dem Acorn-\u00d6kosystem, das die wichtigsten, weiterhin gepflegten Features von Soil b\u00fcndelt. W\u00e4hrend Soil historisch eng mit dem Roots-Theme-Setup verbunden war (fr\u00fcher sogar direkt im Starter-Theme enthalten), wird die Funktionalit\u00e4t jetzt als modernes, Acorn-zentriertes Composer-Paket weitergef\u00fchrt.<\/p>\n\n\n\n<p>Der Hintergrund ist nachvollziehbar: Wenn Acorn ohnehin die Basis f\u00fcr moderne Roots-Setups (z. B. in Sage-Projekten) ist, macht es Sinn, auch solche \u201eQualit\u00e4tsverbesserungen\u201c als Acorn-Package zu liefern \u2013 inklusive Konfiguration \u00fcber eine zentrale Config-Datei.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Welche Features bringt Acorn Prettify mit?<\/h2>\n\n\n\n<p>Laut Ank\u00fcndigung konzentriert sich Acorn Prettify auf die Soil-Funktionen, die Roots weiterhin aktiv warten m\u00f6chte. Dazu geh\u00f6ren:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n\n<li><strong>Cleaner WordPress Markup<\/strong>: Aufr\u00e4umen bzw. Vereinfachen des von WordPress erzeugten HTML\/Outputs.<\/li>\n\n\n<li><strong>Nice search<\/strong>: Verbesserte Suche \u2013 in der Praxis relevant, weil die Standardsuche in WordPress oft unerwartete Ergebnisse liefert.<\/li>\n\n\n<li><strong>Relative URLs<\/strong>: Relative URLs sind enthalten, aber <strong>standardm\u00e4\u00dfig deaktiviert<\/strong> (wichtig f\u00fcr Setups, in denen absolute URLs z. B. f\u00fcr Feeds, Canonicals oder CDN-Strategien gew\u00fcnscht sind).<\/li>\n\n<\/ul>\n\n\n\n<div class=\"wp-block-group callout callout-info is-style-info is-layout-flow wp-block-group-is-layout-flow\" style=\"border-width:1px;border-radius:8px;padding-top:1rem;padding-right:1.5rem;padding-bottom:1rem;padding-left:1.5rem\">\n\n<h4 class=\"wp-block-heading callout-title\">Einordnung: \u201eNice search\u201c &#038; Markup-Cleanup<\/h4>\n\n\n<p>Die Begriffe sind bewusst generisch gehalten. Praktisch hei\u00dft das: Prettify liefert opinionated Defaults, die typische WordPress-Schmerzen reduzieren \u2013 ohne dass du dir jedes Mal ein eigenes \u201eMust-use\u201c-Snippet-Set zusammenbauen musst.<\/p>\n\n<\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Migration: Von Soil zu Acorn Prettify wechseln<\/h2>\n\n\n\n<p>Wenn du bisher Soil per Composer eingebunden hast, ist der Wechsel straightforward: Soil entfernen, Prettify installieren. Das Ganze ist bewusst so gehalten, dass es gut in bestehende Deployments passt (Composer-first).<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">1) Soil als Composer-Dependency entfernen<\/h3>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#24292e\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#e1e4e8;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>composer remove roots\/soil\n<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki github-dark\" style=\"background-color:#24292e;color:#e1e4e8\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color:#B392F0\">composer<\/span><span style=\"color:#9ECBFF\"> remove<\/span><span style=\"color:#9ECBFF\"> roots\/soil<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">2) Acorn Prettify installieren<\/h3>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#24292e\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#e1e4e8;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>composer require roots\/acorn-prettify\n<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki github-dark\" style=\"background-color:#24292e;color:#e1e4e8\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color:#B392F0\">composer<\/span><span style=\"color:#9ECBFF\"> require<\/span><span style=\"color:#9ECBFF\"> roots\/acorn-prettify<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">3) Sage-Projekte: Theme-Support-Eintr\u00e4ge bereinigen<\/h3>\n\n\n\n<p>Wenn du <strong>Sage<\/strong> nutzt, kannst du zus\u00e4tzlich die bisherigen <code>add_theme_support<\/code>-Optionen f\u00fcr Soil aus deiner Theme-Setup-Datei entfernen (typischerweise <code>app\/setup.php<\/code>). Roots verweist dazu auf ein konkretes Beispiel im Sage-Repository.<\/p>\n\n\n\n<p>Relevanter Link: <a href=\"https:\/\/github.com\/roots\/sage\/pull\/3172\/files\">Beispiel\u00e4nderung im Sage-Repo<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Konfiguration: Features \u00fcber <code>config\/prettify.php<\/code> steuern<\/h2>\n\n\n\n<p>Acorn Prettify wird \u00fcber eine Konfigurationsdatei aktiviert bzw. gesteuert. Die Features h\u00e4ngen an der Datei <strong><code>config\/prettify.php<\/code><\/strong> im Paket.<\/p>\n\n\n\n<p>Wenn du Defaults \u00e4ndern willst, publizierst du die Config in dein Projekt und passt sie dort an. Das folgt dem in Acorn\/Laravel \u00fcblichen Pattern (Vendor-Config publishen, dann lokal \u00fcberschreiben).<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#24292e\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#e1e4e8;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>wp acorn vendor:publish --tag=prettify-config\n<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki github-dark\" style=\"background-color:#24292e;color:#e1e4e8\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color:#B392F0\">wp<\/span><span style=\"color:#9ECBFF\"> acorn<\/span><span style=\"color:#9ECBFF\"> vendor:publish<\/span><span style=\"color:#79B8FF\"> --tag=prettify-config<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>Die referenzierte Config-Datei im Repository: <a href=\"https:\/\/github.com\/roots\/acorn-prettify\/blob\/main\/config\/prettify.php\"><code>config\/prettify.php<\/code><\/a><\/p>\n\n\n\n<div class=\"wp-block-group callout callout-warning is-style-warning is-layout-flow wp-block-group-is-layout-flow\" style=\"border-width:1px;border-radius:8px;padding-top:1rem;padding-right:1.5rem;padding-bottom:1rem;padding-left:1.5rem\">\n\n<h4 class=\"wp-block-heading callout-title\">Relative URLs sind deaktiviert<\/h4>\n\n\n<p>Wenn du bisher bei Soil aktiv relative URLs genutzt hast, lohnt sich ein expliziter Check nach der Migration: In Acorn Prettify ist das Feature laut Ank\u00fcndigung standardm\u00e4\u00dfig aus.<\/p>\n\n<\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Was sich an der Roots-Strategie ablesen l\u00e4sst<\/h2>\n\n\n\n<p>Der spannendste Teil an der Ank\u00fcndigung ist weniger das Feature-Set, sondern die klare Produktlinie: Roots investiert in <strong>Acorn und sein Package-\u00d6kosystem<\/strong>. Acorn Prettify ist damit auch ein Signal, dass \u201eUtility-Funktionalit\u00e4t\u201c k\u00fcnftig eher als Acorn-Package statt als klassisches WordPress-Plugin (wie Soil) gedacht ist.<\/p>\n\n\n\n<p>Wer eigene Erweiterungen plant, findet dazu die offizielle Anleitung: <a href=\"https:\/\/roots.io\/creating-an-acorn-package\/\">Creating an Acorn package<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Kurzfazit<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n\n<li>Acorn Prettify ist der offizielle Nachfolger von Soil und \u00fcbernimmt die weiterhin gepflegten Kernfeatures.<\/li>\n\n\n<li>Migration l\u00e4uft sauber \u00fcber Composer: <code>roots\/soil<\/code> raus, <code>roots\/acorn-prettify<\/code> rein.<\/li>\n\n\n<li>Konfiguration erfolgt \u00fcber eine publishbare Datei (<code>prettify-config<\/code>).<\/li>\n\n\n<li>Relative URLs sind enthalten, aber standardm\u00e4\u00dfig deaktiviert \u2013 das ist nach dem Update der h\u00e4ufigste Stolperstein.<\/li>\n\n<\/ul>\n\n\n<div class=\"references-section\">\n                <h2>Referenzen \/ Quellen<\/h2>\n                <ul class=\"references-list\"><li><a href=\"https:\/\/roots.io\/announcing-acorn-prettify\/\" target=\"_blank\" rel=\"noopener noreferrer\">Announcing Acorn Prettify<\/a><\/li><li><a href=\"https:\/\/github.com\/roots\/acorn-prettify\" target=\"_blank\" rel=\"noopener noreferrer\">roots\/acorn-prettify<\/a><\/li><li><a href=\"https:\/\/github.com\/roots\/soil\" target=\"_blank\" rel=\"noopener noreferrer\">Soil plugin<\/a><\/li><li><a href=\"https:\/\/roots.io\/creating-an-acorn-package\/\" target=\"_blank\" rel=\"noopener noreferrer\">Creating an Acorn package<\/a><\/li><li><a href=\"https:\/\/github.com\/roots\/sage\/pull\/3172\/files\" target=\"_blank\" rel=\"noopener noreferrer\">Sage PR example (Soil to Prettify)<\/a><\/li><li><a href=\"https:\/\/github.com\/roots\/acorn-prettify\/blob\/main\/config\/prettify.php\" target=\"_blank\" rel=\"noopener noreferrer\">Acorn Prettify config\/prettify.php<\/a><\/li><li><a href=\"https:\/\/discourse.roots.io\/t\/-\/26545\" target=\"_blank\" rel=\"noopener noreferrer\">Discuss this post on Roots Discourse<\/a><\/li><\/ul>\n            <\/div>","protected":false},"excerpt":{"rendered":"<p>Roots verabschiedet sich schrittweise vom klassischen Soil-Plugin und setzt stattdessen konsequent auf Acorn: Mit Acorn Prettify kommen die wichtigsten \u201eCleanups\u201c als modernes Composer-Paket zur\u00fcck.<\/p>\n","protected":false},"author":9,"featured_media":133,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[45],"tags":[3,8,4,67,10],"class_list":["post-134","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-wordpress-okosystem","tag-acorn","tag-composer","tag-roots","tag-sage","tag-wordpress"],"_links":{"self":[{"href":"https:\/\/helloblog.io\/de\/wp-json\/wp\/v2\/posts\/134","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/helloblog.io\/de\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/helloblog.io\/de\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/helloblog.io\/de\/wp-json\/wp\/v2\/users\/9"}],"replies":[{"embeddable":true,"href":"https:\/\/helloblog.io\/de\/wp-json\/wp\/v2\/comments?post=134"}],"version-history":[{"count":1,"href":"https:\/\/helloblog.io\/de\/wp-json\/wp\/v2\/posts\/134\/revisions"}],"predecessor-version":[{"id":155,"href":"https:\/\/helloblog.io\/de\/wp-json\/wp\/v2\/posts\/134\/revisions\/155"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/helloblog.io\/de\/wp-json\/wp\/v2\/media\/133"}],"wp:attachment":[{"href":"https:\/\/helloblog.io\/de\/wp-json\/wp\/v2\/media?parent=134"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/helloblog.io\/de\/wp-json\/wp\/v2\/categories?post=134"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/helloblog.io\/de\/wp-json\/wp\/v2\/tags?post=134"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}