The problem.
A web agency’s own website has to present its services and projects clearly while making space for new content. Mainstay Digital needed its approved visual design translated into a working WordPress site, with page sections the team could edit and reuse.
The work extended beyond the homepage. Services, articles and case studies needed their own structure, and visitors needed a practical way to browse the agency’s growing body of work. The challenge was to carry the supplied design through those different content types without making every new page a separate development task.
My role.
I developed the custom WordPress theme and its block library for Mainstay Digital. My responsibility was implementation from the supplied visual design: the theme, editing fields, reusable sections and front-end interactions.
I used Timber and Twig to render the theme, ACF Pro for its editable content and Tailwind for styling. That connected the page layouts visitors see with the fields the team uses in WordPress. I also implemented the blog and recent-work interactions within the theme, alongside navigation, accordions and scroll effects.
What I built.
A library of editable sections
The theme registers 60 custom ACF blocks. PHP renderers pass each block’s content to Twig section templates, with field groups defined in code. This gives the supplied layouts a reusable editing model: content is entered through named fields and rendered through the corresponding section, rather than embedded in page-specific markup.
A structure for the agency’s work
I added dedicated case-study and recent-work content types alongside the site’s pages and blog. Six menu locations and theme settings support the wider site structure. The result is a publishing system that treats projects as organised content, with reusable presentation, instead of treating each project as an isolated page.
Browsing without losing your place
Three custom AJAX endpoints handle blog filtering, loading more articles and loading more recent work. I implemented these interactions in the theme with vanilla JavaScript, connecting the front-end controls to WordPress content queries. Visitors can explore more of the agency’s content within the existing listing.
The results.
60
custom ACF blocks
Registered blocks in the custom theme, recorded in the October 2026 code review.
The custom theme was delivered for Mainstay Digital’s website, including service pages, articles and case studies. It translated the supplied design into a working publishing system, with structured content, reusable sections and clear editing controls.
The same editing model carries across the site’s different content types. New pages can be assembled from the delivered block library, while project and article listings expose content through the working filters and load-more controls.
Scope & credits
Custom WordPress development from a supplied visual design. Timber, Twig, ACF Pro, Tailwind and vanilla JavaScript.