Skip to content
© Devang Patel
WordPressPHP

Custom WordPress Themes

Themes built by hand from client designs. No page-builder bloat.

Role
WordPress and PHP developer
Timeline
Mysphere Infotech, then Rang Digitech
Team
With designers, content teams and clients
Links
Client work, links on request

Stack:

  • WordPress
  • PHP
  • ACF
  • JavaScript
  • SCSS
  • REST APIs

Overview

Across roles at Mysphere Infotech and Rang Digitech I've built and rebuilt custom WordPress themes from scratch in PHP, turning client design files and brand guidelines into fast, standards-compliant code that the next developer can pick up.

Representative of professional client work. Client names and URLs are available on request; some work is under NDA.

The problem

Clients arrive with finished designs (Figma or PSD) and a WordPress requirement. Off-the-shelf themes and page builders turn that into slow, rigid sites that nobody wants to maintain.

Constraints

  1. 01

    Match the client's design exactly, on every breakpoint.

  2. 02

    Non-technical editors must be able to change content without breaking a layout.

  3. 03

    Whoever inherits the theme must be able to work on it without calling me.

Architecture

  1. Request
    • WordPress coreRouting and the main query
  2. Templates
    • Template hierarchyfront-page, single-{type}, archive-{type}
    • Template partsReusable sections, no shortcodes
  3. Content
    • ACF field groupsStructured, editor-safe content models
    • REST integrationsThird-party APIs
  4. Assets
    • SCSS + JavaScriptBuilt, then enqueued per template

Decisions and trade-offs

Custom templates over multipurpose themes

Chose
Hand-written PHP templates for exactly the pages the design has
Over
A multipurpose theme or a page builder
Why
Less code ships, so pages are faster, and there's nothing hidden for the next developer to untangle.

Structured fields over free-form layouts

Chose
ACF field groups that map to the design's components
Over
Letting editors drag blocks anywhere
Why
Editors change words and images; the structure keeps the layout intact.

Documentation as a deliverable

Chose
Written handover notes with every theme
Over
Knowledge that lives in one person's head
Why
A client should never be hostage to the person who built their site.

What I'd do next

  1. 01

    Build new themes as block themes (theme.json plus custom blocks), so editors get the same structure inside the native editor.

Related writing

Next project

This Portfolio

A portfolio that measures itself while you read it.

Read the case study