Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Addifect Admin Dashboard - Source Code

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).


🚀 Development Setup

To modify the WordPress Admin Dashboard UI, follow these steps:

Clone the repository

git clone https://github.com/LDissanayake/bin-pkg-02-source.git
cd bin-pkg-02-source

Install dependencies

npm install

Start development mode

npm run start

Build for production

npm run build

📦 Deployment to WordPress Plugin

After running the build script, follow these steps to update the production assets in your WordPress plugin:

  1. Navigate to the /dist folder in this repository.

  2. Copy all files and folders.

  3. Go to your Addifect plugin directory:

    addifect/lib/dashboard/js/
    
  4. Replace all existing files with the new contents of the dist folder.


🛠 Live Development (Hot Reloading)

To test dashboard changes live within WordPress:

  1. Download the addifect-dev.zip helper plugin from the Primary Source Repository.

  2. Install and activate it on your local WordPress site.

  3. Access your dashboard with the dev flag:

    yoursite.com/wp-admin/?dev=true
    

Dev Flags

  • dev=true → Points the dashboard to your local build server for hot reloading
  • dev=false → Reverts to using production assets in the lib/ folder

📌 Note

This repository is for source code review. For the official WordPress plugin, please visit Addifect on WordPress.org.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages

Sponsor
SponsoredKunjungi sekarang
Promo