Implementation of the WPEmerge framework to generate new Gutenberg blocks with Advanced Custom Fields.
You can directly clone this repository inside your WordPress theme folder, in case you have not previously installed WPEmerge.
Then copy the contents of the functions-example.php file to the beginning of your functions.php file.
If you already had WPEmerge installed or are using its starter, you must do the following:
-
Copy the
GutenbergServiceProvider.phpfile to theapp/src/WordPressfolder -
Edit the
app/config.phpfile and add the following to the providers configuration array:
'providers' => [
\App\WordPress\GutenbergServiceProvider::class,
],