The Zukit framework serves as the basis for creating plugins or themes for WordPress. Implements basic functionality for managing scripts and creating plugin or theme settings page based on Gutenberg functionality.
To use Zukit framework in your project, you need to load its classes before referring to the class that inherits the framework methods. There are many ways to do this, but the easiest one is to install the framework as a subtree
in your project.
The best way to learn a framework is to look at working examples of its use. This can be done in plugins that I have already adapted for the new framework: Zu Contact, Zu Media and Zu Plus.
Documentation is available on the GitHub wiki. There I described the main points of working with the framework.
- Folder dist contains production versions
JS
andCSS
files; - Folder lang contains files needed for translations;
- Folder snippets contains a collection of various functions that I have accumulated during my work with WordPress. They are combined into one class for ease of use;
- Folder traits contains traits that are included in the class
zukit_Plugin
. Used to group functionality in a fine-grained and consistent way; - Folder src contains source versions of
JS
andCSS
files.