This Git repository contains the codebase for a test project where WordPress outsourcing practices were implemented. The project heavily relies on the Roots framework, and specific guidelines were followed for installation, theme selection, and plugin management.
WordPress installation based on Bedrock for a modular and standardized structure.
Utilizing Composer for seamless installation of plugins, themes, and languages. Plugins and themes from wordpress.org sourced from the WordPress Packagist repository. Languages installed from the WordPress Language Packs Composer Repository.
Sage theme used as the foundation, with Acorn installed as a plugin.
Tailwind CSS intentionally omitted, unless its benefits significantly outweigh the drawbacks.
Leveraging Acorn for Laravel features such as Blade templates, Blade components, and View composers.
WordPress installation and main theme can be reproduced from the git repository using Composer and npm (or yarn). Excluding dependencies from git, with committed lock-files for version consistency.
Bedrock/WordPress and the main theme coexist within a single git repository.
Each WordPress plugin installed in this test project is carefully justified. Discouraging the use of ready-made themes to mitigate security risks and potential future dependencies.
Clone the repository:
git clone https://github.com/ac1dpax/wordpress-outsourcing-test.git
cd wordpress-outsourcing-test
Install dependencies:
composer install
npm install
Build assets:
npm run build
Run WordPress:
Set up your local environment (e.g., MAMP, XAMPP). Configure the database in .env file. Access the WordPress site in your browser.
This README serves as documentation for the specific implementation choices made in this test project. Ensure adherence to the outlined guidelines for a secure, consistent, and easily reproducible WordPress environment.