This repository contains the human-readable source code (React/JS) for the Addifect WordPress Admin Dashboard, as required by the WordPress.org Plugin Guidelines (Guideline #4).
To modify the WordPress Admin Dashboard UI, follow these steps:
git clone https://github.com/LDissanayake/bin-pkg-02-source.git
cd bin-pkg-02-sourcenpm installnpm run startnpm run buildAfter running the build script, follow these steps to update the production assets in your WordPress plugin:
-
Navigate to the
/distfolder in this repository. -
Copy all files and folders.
-
Go to your Addifect plugin directory:
addifect/lib/dashboard/js/ -
Replace all existing files with the new contents of the
distfolder.
To test dashboard changes live within WordPress:
-
Download the
addifect-dev.ziphelper plugin from the Primary Source Repository. -
Install and activate it on your local WordPress site.
-
Access your dashboard with the dev flag:
yoursite.com/wp-admin/?dev=true
dev=true→ Points the dashboard to your local build server for hot reloadingdev=false→ Reverts to using production assets in thelib/folder
This repository is for source code review. For the official WordPress plugin, please visit Addifect on WordPress.org.