Full-page screenshot of the Affinity Talent website
Mobile screenshot of the Affinity Talent website

WordPress site · Self-initiated demo project

Affinity Talent

  • WordPress
  • ACF
  • Workers AI

Overview

Time taken: Built part-time over about 10 days

The challenge

A fictional London recruitment agency for marketing, creative and digital roles. Built to show a full custom WordPress build: a searchable job board, content a client can update every week without code, and an AI assistant, all hosted as a fast static site.

What I built

  • A custom WordPress theme built from scratch, with no page builder or off-the-shelf template
  • A job board with 24 live roles: keyword search, filters for sector, location and job type, a salary range and sorting, with every search saved in the URL so it can be shared or bookmarked
  • Individual job pages showing the salary, reference number, closing date and the consultant who handles the role
  • "Ask Affinity", an AI assistant that answers questions about open roles, fees and which consultant covers which sector, then points people to the right jobs
  • A fully editable admin: a client can manage every job, the homepage hero and stats, the founder and consultants, the For Employers content and fees, and the contact details, without touching code
  • Accessibility throughout: full keyboard support, custom dropdowns with proper screen reader roles, animations that switch off for anyone with reduce motion turned on, and a site that still works with JavaScript disabled

The AI assistant

It runs on Meta's Llama 3.1 8B through Cloudflare Workers AI, so no API key ever reaches the browser, and it only accepts requests from the live site. Questions about specific jobs are answered from the real job data in code rather than by the model, so it can't invent roles that don't exist. To keep the site fast, it only loads when someone clicks the button.

Design

Most recruitment sites play it safe with navy, grey and stock photos of handshakes. I built Affinity around a deep green with pink and mint accents, and a noticeboard idea for the homepage: an off-balance headline, a role pinned up with a handwritten note, and jobs shown as tickets of different widths. The job-first approach takes inspiration from Wellfound, so visitors can browse live roles straight away without signing up, but the visual design is my own. I mocked up homepage directions as static HTML before committing one to the theme, then refined it on a separate Git branch, adding a named consultant for each sector, a week-by-week hiring process and the office with a drawn map, so it reads like a specific agency rather than a template.

The part I'm most pleased with is the job search. It's what people would use most, so results update instantly as you type or change a filter, and the custom dropdowns match the brand without losing accessibility.

Hardest problem

One problem I solved

Hosting it as a fast static site while keeping it dynamic. Once exported, there's no server, so all searching, filtering and sorting runs in the browser over the job listings already on the page, with the filters synced to the URL. The AI assistant runs separately on a Cloudflare Worker. I also built in an export check after finding the export could silently drop files, so every deploy is confirmed complete before it goes live.

Results

  • 95

    Performance

  • 100

    Accessibility

  • 100

    Best practices

  • 100

    SEO

Lighthouse, live site:

  • Performance: 95 to 99 on mobile, 100 on desktop, on every page
  • Accessibility 100 on every page
  • Best Practices 100 on every page
  • SEO 100 on every page

Tech stack

  • WordPress
  • PHP
  • ACF
  • JavaScript
  • CSS
  • Cloudflare Workers AI
  • Cloudflare Pages

Got a project like this?