This repository contains the human-readable source code (React/JS) for the Addifect WordPress plugin, as required by the WordPress.org Plugin Guidelines (Guideline #4).
To modify the studio or the render engine, follow these steps:
git clone https://github.com/LDissanayake/bin-pkg-01-source.git
cd bin-pkg-01-sourcenpm installnpm run startnpm run buildAfter running the build script, the compiled assets will be located in the /dist folder.
Follow these steps to update your WordPress plugin:
- Navigate to:
dist/render - Copy all files.
- Go to your WordPress plugin:
addifect/assets/render/js/ - Delete existing files and paste the new files here.
- Navigate to:
dist/editor - Copy all files except
index.html. - Go to your WordPress plugin:
addifect/assets/studio/js/ - Delete existing files and paste the new files here.
To test changes live within a WordPress environment without constant rebuilding:
- Download and install the
addifect-dev.ziphelper plugin. - Activate the helper plugin on your local WordPress install.
- Access your site with the dev flag:
yoursite.com/wp-admin/?dev=true
dev=true→ Points the plugin to your local build serverdev=false→ Uses production assets from the/assetsfolder
This repository is specifically for source code review and development. For the official WordPress plugin, please visit Addifect on WordPress.org.