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
We're dedicated to pushing modern WordPress development forward through our open source projects, and we need your support to keep building. You can support our work by purchasing Radicle, our recommended WordPress stack, or by sponsoring us on GitHub. Every contribution directly helps us create better tools for the WordPress ecosystem.
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