roots / acorn-prettify
Theme-agnostic front-end modifications for WordPress
Fund package maintenance!
Requires
- php: >=8.1
Requires (Dev)
- laravel/pint: ^1.13
- roots/acorn: ^4.0
README
Acorn Prettify contains a collection of modules to apply theme-agnostic front-end modifications to your Acorn-powered WordPress sites.
Support us
Roots is an independent open source org, supported only by developers like you. Your sponsorship funds WP Packages and the entire Roots ecosystem, and keeps them independent. Support us by purchasing Radicle or sponsoring us on GitHub — sponsors get access to our private Discord.
Requirements
Installation
Install via Composer:
$ composer require roots/acorn-prettify
Features
| Feature | Enabled by default | Description |
|---|---|---|
| Clean Up | ✅ Enabled | Cleaner WordPress markup |
| Nice Search | ✅ Enabled | Redirect search results from /?s=query to /search/query/ |
| Relative URLs | ❌ Disabled | Change WordPress absolute URLs to relative URLs |
See the config file for the full list of features.
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
Acorn Prettify immediately begins working with a sane set of defaults once installed in your Acorn project.
Community
Keep track of development and community news.
- Join us on Discord by sponsoring us on GitHub
- Join us on Roots Discourse
- Follow @rootswp on Twitter
- Follow the Roots Blog
- Subscribe to the Roots Newsletter