An organized, ES6 and SASS powered theme taking advantage of the WP Emerge framework. 🚀
Hotfix: Downgrade filp/whoops due to a breaking change in 2.14.0 in views
See https://github.com/htmlburger/wpemerge/releases/tag/0.17.0 for more information.
my_app_get_loaded_wpemerge()
.yarn hot
causing App::core()->assets()->getAssetUrl()
to always return an empty string.yarn start
failing to resolve images references in SCSS.Manually applying a patch from 0.16.0 to 0.16.1 should pass without any conflicts in most cases:
https://github.com/htmlburger/wpemerge-theme/compare/0.16.0...0.16.1.patch
Make sure to run composer update
and yarn upgrade
after applying the patch.
See https://github.com/htmlburger/wpemerge/releases/tag/0.16.0 for more information.
yarn release
sometimes creating a faulty zip.yarn release
will now generate an optimized Composer classmap file for improved autoloading performance in production.yarn release
script for improved readability and maintenance.Web
, Admin
and Ajax
directories under app/src/Controllers
.You can upgrade your 0.15.0 install to 0.15.1 using the attached patch file - 0.15.0-0.15.1.patch
.
To apply it:
git apply --check 0.15.0-0.15.1.patch
- if no errors appear you are good to go with the next step.git apply 0.15.0-0.15.1.patch
.yarn release
command which builds and zips up your theme to be ready for distribution (docs).wp_body_open
and login_headertext
.app/framework.php
in favor of separate app/routes/*.php
and /app/views.php
files.app/helpers/admin.php
file.@hook
annotations to files that are loaded during a hook..htaccess
file which blocks direct access to "source" directories.config.json
(props @mickaelperrin).ABSPATH
check to certain files.Theme\Assets::getAssetUri()
method if you need to reference assets in the dist/
directory server-side.dist/
files slightly.start
script as it was not meant for direct use.wp-block-styles
support, code style etc.).theme/alternative/blade/