A professional WordPress child theme for McCusker General Engineering, built on the Twenty Twenty-Four parent theme. Designed for deployment at www.mccuskerengineering.co.za.
A static HTML preview of the theme is automatically published to GitHub Pages on every push to main.
| Page | URL |
|---|---|
| Home | https://mcfuzzysquirrel.github.io/Mcc-eng/ |
| Services | https://mcfuzzysquirrel.github.io/Mcc-eng/services/ |
| Gallery | https://mcfuzzysquirrel.github.io/Mcc-eng/gallery/ |
| Contact | https://mcfuzzysquirrel.github.io/Mcc-eng/contact/ |
Note: The preview is a static representation of the theme design. Dynamic WordPress features (contact form, CMS content) require a live WordPress install — see Local Preview (Docker) below.
main will deploy automatically.This repository contains a complete WordPress child theme reflecting McCusker General Engineering’s industrial branding: bold navy blue, clean typography, and a strong focus on their core engineering services.
/
├── README.md
├── .gitignore
├── .env.example
├── docker-compose.yml
├── .github/
│ └── workflows/
│ └── pages.yml ← GitHub Pages auto-deploy
├── docs/ ← Static HTML preview (GitHub Pages)
│ ├── index.html
│ ├── services/
│ │ └── index.html
│ ├── gallery/
│ │ └── index.html
│ ├── contact/
│ │ └── index.html
│ └── assets/
│ ├── css/
│ │ └── custom.css
│ └── js/
│ └── main.js
└── wp-content/
└── themes/
└── mccusker-engineering/
├── style.css
├── functions.php
├── index.php
├── header.php
├── footer.php
├── front-page.php
├── page-services.php
├── page-gallery.php
├── page-contact.php
├── assets/
│ ├── css/
│ │ └── custom.css
│ └── js/
│ └── main.js
└── template-parts/
├── hero.php
├── services.php
└── contact-cta.php
You can preview this site locally using Docker and Docker Compose — no hosting account needed.
git clone https://github.com/McFuzzySquirrel/Mcc-eng.git
cd Mcc-eng
cp .env.example .env
Edit .env if you want to change the database credentials (optional for local use).
docker compose up -d
This starts a MySQL database and a WordPress instance. The theme files in wp-content/ are mounted directly into the container.
Open WordPress in your browser: Navigate to http://localhost:8080 and complete the WordPress setup wizard (choose any username/password — this is only for local use).
Install the Twenty Twenty-Four parent theme: In WordPress Admin → Appearance → Themes → Add New, search for Twenty Twenty-Four and install it (do not activate it).
Activate the McCusker Engineering theme: In WordPress Admin → Appearance → Themes, activate McCusker Engineering.
/services – use the “Services Page” template/gallery – use the “Gallery Page” template/contact – use the “Contact Page” templateSet the front page: Settings → Reading → set “A static page” and choose your home page.
docker compose down
Your WordPress database is preserved in a Docker volume. Use docker compose down -v to also remove the database.
mccusker-engineering/ folder into a .zip file and upload it via Appearance → Themes → Add New → Upload Theme./services – use the “Services Page” template/gallery – use the “Gallery Page” template/contact – use the “Contact Page” templatepage-contact.php if the ID differs from 1.| Variable | Value | Usage |
|---|---|---|
--color-primary |
#1B3A6B |
Navy blue – main brand color |
--color-secondary |
#D4D4D4 |
Light gray – backgrounds |
--color-accent |
#E87722 |
Warm orange – CTAs, hovers |
--color-white |
#FFFFFF |
Text on dark backgrounds |
--color-dark |
#1a1a1a |
Body text |
Colors are defined as CSS custom properties in assets/css/custom.css and can be adjusted there.
Both fonts are loaded via functions.php.
assets/css/custom.css under the :root block.www.mccuskerengineering.co.za to your server.The theme includes a built-in Gallery page for showcasing completed jobs with images and videos. Projects are managed via a custom post type in the WordPress admin.
https://www.youtube.com/embed/VIDEO_ID).The gallery page automatically displays all published projects in a filterable grid. Visitors can filter by category and click to view images or videos in a lightbox overlay.
Follow these steps to take the project files from this repository and deploy them to a live WordPress site.
git clone https://github.com/McFuzzySquirrel/Mcc-eng.git
Or click Code → Download ZIP on the GitHub repository page.
wp-content/themes/mccusker-engineering/
Compress only the mccusker-engineering folder into a .zip file:
cd wp-content/themes
zip -r mccusker-engineering.zip mccusker-engineering/
On Windows/Mac you can right-click the folder and choose “Compress” or “Send to → Compressed folder”.
https://www.mccuskerengineering.co.za/wp-admin).mccusker-engineering.zip file and click Install Now.If not already installed:
Go to Pages → Add New and create the following pages:
| Page Title | Slug | Template |
|---|---|---|
| Home | home |
Default |
| Services | services |
Services Page |
| Gallery | gallery |
Gallery Page |
| Contact | contact |
Contact Page |
For each page, set the Page Template in the right sidebar under “Page Attributes” → “Template”.