Lior Jewellery — Site Toolkit
Custom WordPress/WooCommerce functionality for lior-jewellery.com — one plugin, one module per feature
★ 0stars
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/mohammad78sd/lior-toolkit/archive/refs/heads/master.zipDeclares an update source (https://github.com/Mohammad78SD/lior-toolkit), so updates arrive through the plugin's own updater.
From the readme
Lior Jewellery — Site Toolkit
One plugin, one module per feature. This is where all custom lior-jewellery.com
functionality lives from now on, instead of a new standalone plugin per feature.
How it works
- lior-toolkit.php is the only file WordPress needs to know about. It just
auto-loads everything in includes/modules/.
- Each feature is its own file in includes/modules/, named after what it
does. A module is a normal PHP file with hooks/functions in it — no class
or registration boilerplate required.
Adding a new feature
1. Create a new file in includes/modules/, e.g. includes/modules/auto-print.php.
2. Start it with defined( 'ABSPATH' ) || exit; (same as the existing module).
3. Write the hooks/functions for that feature in that file.
4. Prefix function names with lior to avoid collisions with WordPress core,
WooCommerce, or other plugins.
5. Ship it by cutting a new Release (see "Releasing a new version" below) — no
activation step needed for a new module file, it's picked up automatically.
Turning a module off without deleting it
Rename the file so it doesn't end in .php, e.g.:
admin-order-email-link.php → admin-order-email-link.php.off
Installing on the si
Read the full README on GitHub →
Releases
These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.