You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Harry Wiseman edited this page Apr 8, 2019
·
6 revisions
This package provides helpers for creating new Blocks and Field Groups.
What is in the package
Base fields - This includes all ACF field types that can be used when registering a field group. This makes it so you don't need to repeat code as much and can add the fields in pragmatically.
Flexible Content - This allows you to create flexible layout groups within ACF using the same idea as when creating new field groups.
Blocks - This is for Gutenberg integration. This provides helper functions / classes to help you to add custom blocks to the Gutenberg editor.
Post types - This provides a helper for creating custom post types and custom taxonomies - you just need to provide it with the bare bones info and then it will handle all the other default stuff for you.
Installing:
This package is a dependancy of the package Mimir but can also be installed on it's own
composer require nanosoup/nemesis
Blocks
When adding a block you will be registering that blocks field group within the same class, rather than declaring another class just for this. This is to prevent an overload of classes within the website.