PHPackages                             roots/acorn-prettify - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. roots/acorn-prettify

ActivePackage[Utility &amp; Helpers](/categories/utility)

roots/acorn-prettify
====================

Theme-agnostic front-end modifications for WordPress

v1.0.5(5mo ago)58289.3k↓43%43MITPHPPHP &gt;=8.1CI passing

Since Jan 1Pushed 3mo ago2 watchersCompare

[ Source](https://github.com/roots/acorn-prettify)[ Packagist](https://packagist.org/packages/roots/acorn-prettify)[ GitHub Sponsors](https://github.com/roots)[ RSS](/packages/roots-acorn-prettify/feed)WikiDiscussions main Synced yesterday

READMEChangelog (6)Dependencies (2)Versions (8)Used By (3)

Acorn Prettify
==============

[](#acorn-prettify)

[![Latest Stable Version](https://camo.githubusercontent.com/0902fc8520a03695ae92788b403c34cd17effdfe60798945c39f0d9bfb8135d8/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f726f6f74732f61636f726e2d70726574746966792e7376673f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/0902fc8520a03695ae92788b403c34cd17effdfe60798945c39f0d9bfb8135d8/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f726f6f74732f61636f726e2d70726574746966792e7376673f7374796c653d666c61742d737175617265)[![Packagist Downloads](https://camo.githubusercontent.com/c92d12d68132b1ee0938ec94658cfc2dd94b5a03517190ae04ecc4f113ae6885/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f726f6f74732f61636f726e2d70726574746966793f6c6162656c3d646f776e6c6f61647326636f6c6f72423d32623330373226636f6c6f72413d353235646463267374796c653d666c61742d737175617265)](https://packagist.org/packages/roots/acorn-prettify)[![Build Status](https://camo.githubusercontent.com/aadf119736e06d50b4aa2f1898b2970d773aec8a1238cb81a06441dd1c405869/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f726f6f74732f61636f726e2d70726574746966792f6d61696e2e796d6c3f6272616e63683d6d61696e267374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/aadf119736e06d50b4aa2f1898b2970d773aec8a1238cb81a06441dd1c405869/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f726f6f74732f61636f726e2d70726574746966792f6d61696e2e796d6c3f6272616e63683d6d61696e267374796c653d666c61742d737175617265)[![Follow Roots](https://camo.githubusercontent.com/222256dbdeac58e77f017d847dca30ff4cab027cdf3abfec8e5bfd59de240547/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f666f6c6c6f7725323040726f6f747377702d3164613166323f6c6f676f3d74776974746572266c6f676f436f6c6f723d666666666666266d6573736167653d267374796c653d666c61742d737175617265)](https://twitter.com/rootswp)[![Sponsor Roots](https://camo.githubusercontent.com/31e13361135ff96d01f1eb97157d052029e6f236249996072d8b6bd60b40e9cd/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f73706f6e736f72253230726f6f74732d3532356464633f6c6f676f3d676974687562267374796c653d666c61742d737175617265266c6f676f436f6c6f723d666666666666266d6573736167653d)](https://github.com/sponsors/roots)

Acorn Prettify contains a collection of modules to apply theme-agnostic front-end modifications to your Acorn-powered WordPress sites.

Support us
----------

[](#support-us)

Roots is an independent open source org, supported only by developers like you. Your sponsorship funds [WP Packages](https://wp-packages.org/) and the entire Roots ecosystem, and keeps them independent. Support us by purchasing [Radicle](https://roots.io/radicle/) or [sponsoring us on GitHub](https://github.com/sponsors/roots) — sponsors get access to our private Discord.

Requirements
------------

[](#requirements)

- [PHP](https://secure.php.net/manual/en/install.php) &gt;= 8.1
- [Acorn](https://github.com/roots/acorn) &gt;= 3.0

Installation
------------

[](#installation)

Install via Composer:

```
$ composer require roots/acorn-prettify
```

Features
--------

[](#features)

FeatureEnabled by defaultDescription**Clean Up**✅ EnabledCleaner WordPress markup**Nice Search**✅ EnabledRedirect search results from `/?s=query` to `/search/query/`**Relative URLs**❌ DisabledChange WordPress absolute URLs to relative URLs[See the config file for the full list of features](https://github.com/roots/acorn-prettify/blob/main/config/prettify.php).

Getting Started
---------------

[](#getting-started)

Start by publishing the package configuration:

```
$ wp acorn vendor:publish --tag=prettify-config
```

Review the published config file to get an understanding of the optimizations that Acorn Prettify has enabled out of the box.

Usage
-----

[](#usage)

Acorn Prettify immediately begins working with a sane set of defaults once installed in your Acorn project.

Community
---------

[](#community)

Keep track of development and community news.

- Join us on Discord by [sponsoring us on GitHub](https://github.com/sponsors/roots)
- Join us on [Roots Discourse](https://discourse.roots.io/)
- Follow [@rootswp on Twitter](https://twitter.com/rootswp)
- Follow the [Roots Blog](https://roots.io/blog/)
- Subscribe to the [Roots Newsletter](https://roots.io/subscribe/)

###  Health Score

54

—

FairBetter than 96% of packages

Maintenance77

Regular maintenance activity

Popularity48

Moderate usage in the ecosystem

Community22

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 74.4% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~152 days

Recently: every ~185 days

Total

6

Last Release

150d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/5745907?v=4)[Brandon](/maintainers/Log1x)[@Log1x](https://github.com/Log1x)

---

Top Contributors

[![Log1x](https://avatars.githubusercontent.com/u/5745907?v=4)](https://github.com/Log1x "Log1x (32 commits)")[![retlehs](https://avatars.githubusercontent.com/u/115911?v=4)](https://github.com/retlehs "retlehs (9 commits)")[![dustingrofthenumber](https://avatars.githubusercontent.com/u/127979510?v=4)](https://github.com/dustingrofthenumber "dustingrofthenumber (1 commits)")[![RafaelKr](https://avatars.githubusercontent.com/u/14234815?v=4)](https://github.com/RafaelKr "RafaelKr (1 commits)")

---

Tags

acornacorn-packagelaravelwordpresswordpress-cleanupwordpress-laravel

###  Code Quality

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/roots-acorn-prettify/health.svg)

```
[![Health](https://phpackages.com/badges/roots-acorn-prettify/health.svg)](https://phpackages.com/packages/roots-acorn-prettify)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
