Unravel
Please note that this package is deprecated and no longer supported in order to focus on more popular packages., (*1)
WordPress plugin to separate concerns for Models and Advanced Custom Fields from your theme., (*2)
Installation
Composer:
Recommended method; Roots Bedrock and WP-CLI, (*3)
$ composer require soberwp/unravel
$ wp plugin activate unravel
Manual:
- Download the zip file
- Unzip to your sites plugin folder
- Activate via WordPress
Requirements:
Usage:
Move your data/model config files out of your theme folder for better separation of concerns., (*4)
Unravel performs the following tasks;, (*5)
- Moves folders
model-config/
and acf-json/
within your theme to wp-content/models/
(or web/app/models/
for Bedrock).
- Updates and overrides save/load filter paths for each plugin.
Deactivation;, (*6)
- Data/model config files are moved back to their default locations within your theme.
Updates
Composer:
- Change the composer.json version to ^1.0.0**
- Check CHANGELOG.md for any breaking changes before updating.
$ composer update
WordPress:
Includes support for github-updater to keep track on updates through the WordPress backend.
* Download github-updater
* Clone github-updater to your sites plugins/ folder
* Activate via WordPress, (*7)
Other