Piteå Customisation
Custom functionality and modifications for the Piteå WordPress installation
by Consid Borås AB · github.com/considbrs-webdev/pitea-customisation
★ 0stars
101composer installs
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/considbrs-webdev/pitea-customisation/archive/refs/heads/main.zipAlso on Packagist as considbrs-webdev/pitea-customisation:
composer require considbrs-webdev/pitea-customisationFrom the readme
Pitea Customisation
A WordPress plugin for custom functionality and modifications for the Pitea WordPress installation.
Features
- Modular PHP architecture with Composer autoloading
- Vite for modern CSS and JavaScript building
- SCSS support with variables and mixins
- Separate frontend and admin asset bundles
Requirements
- PHP 8.0+
- Node.js 18+
- Composer
Installation
1. Navigate to the plugin directory:
2. Install PHP dependencies:
3. Install Node.js dependencies:
4. Build assets:
5. Activate the plugin in WordPress admin.
Development
Watch for changes
Or for production watch:
Build for production
Adding Custom Classes
1. Create a new PHP class in source/php/Customisations/:
2. Register the class in source/php/App.php:
3. Run composer dump-autoload to update the autoloader.
Directory Structure
License
MIT