Please note that this package is deprecated and no longer supported in order to focus on more popular packages.
WordPress plugin to separate concerns for Models and Advanced Custom Fields from your theme.
Recommended method; Roots Bedrock and WP-CLI
$ composer require soberwp/unravel
$ wp plugin activate unravel
- Download the zip file
- Unzip to your sites plugin folder
- Activate via WordPress
- PHP >= 5.6.x
Move your data/model config files out of your theme folder for better separation of concerns.
Unravel performs the following tasks;
- Moves folders
model-config/
andacf-json/
within your theme towp-content/models/
(orweb/app/models/
for Bedrock). - Updates and overrides save/load filter paths for each plugin.
Deactivation;
- Data/model config files are moved back to their default locations within your theme.
- Change the composer.json version to ^1.0.0**
- Check CHANGELOG.md for any breaking changes before updating.
$ composer update
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
- For updates follow @withjacoby
- You can also hire me for WordPress or frontend work