R&P Consulting
R&P Consulting is a Nairobi-based tax, accounting, and compliance firm. They needed a website that went beyond describing their services, one that could handle client bookings, onboard new team members without manual admin work, and meet Kenya's data protection requirements, all while being fast and well-structured enough to rank locally on Google.

The problem
R&P Consulting needed a platform that would become a working part of the business and not just another brochure website. This required onboarding that runs itself, a booking system clients actually want to use, and legal pages and cookie consent built around Kenya's Data Protection Act.
They also needed to be found. Structured Schema.org data tells Google exactly who the firm is and what it offers, so local clients searching for tax, accounting, legal and HR help see R&P first.
The audience was business owners and individuals across Nairobi who need a trusted hand with KRA filings, eTIMS, payroll, HR, legal, and compliance. This site speaks to them directly.
A theme builder or an off-the-shelf plugin stack couldn't get there without ending up slow, fragile, or non-compliant. So I built a custom classic wordpress theme from scratch.
What I built
A theme written from scratch
No page builder and no starter theme. Templates, custom post types for team members and services, and editable fields through ACF, so the firm updates content without touching code.
Built for local search
Implemented schema markup (AccountingService, Person, FAQPage, BreadcrumbList) sitewide and on individual templates, so search engines can correctly understand and surface the firm's services and team and that the firm's expertise is visible to Google.
Appointment Booking system
Integrated Simply Schedule Appointments with a custom popup modal, so clients can book consultations directly from the site without back-and-forth emails.
Automated Staff Onboarding
Built a custom Team Member post type with a save_post hook that automatically creates a linked WordPress user account whenever a new team member profile is published, removing several manual admin steps every time R&P hires.
Cookie consent and Data Protection Compliance
Built a custom cookie consent plugin and legal pages tailored specifically to Kenya's Data Protection Act (2019) not a generic GDPR template repurposed for a different jurisdiction. The plugin was designed to be reusable across future projects.
Fast, light front end
Tailwind CSS v4 compiled with Vite, with HTMX handling blog pagination so pages update without a full reload.


How it's built
Why a custom theme
A page builder plus a stack of plugins would have covered the basics, but not the combination R&P needed, which was Kenya DPA-aware consent, structured data, a booking flow, and fast pages. Every layer in a builder stack adds markup, scripts, and another thing to update.
A purpose-built PHP theme ships only what the site uses, and nothing in it depends on a vendor's roadmap. Plugins are limited to the jobs where a mature one is the simpler answer. Scheduling uses Simply Schedule Appointments, and TGMPA makes sure the required ones are installed.
Asset pipeline
CSS and JavaScript are bundled with Vite. Styling is Tailwind CSS v4, with the brand's colours and type scale defined as @theme tokens so the design lives in one place. Fonts are self-hosted, and icons are self-hosted SVGs served through a small randp_icon() helper rather than an icon CDN.
That means no third-party requests for core assets and no render-blocking calls to external hosts. Interactivity is kept deliberately light since the build Alpine.js for small UI behaviour, and HTMX for blog category filtering and pagination, which swaps in server-rendered HTML instead of shipping a client-side app.
Content structure
Content is modelled as custom post types, with ACF fields and custom metaboxes for repeater-style data. Team members and services are their own types, so the client edits structured fields instead of laying out pages.
Creating a team member automatically creates a linked WordPress user, which removes a manual onboarding step. Each team profile is also the source for its own Person markup, which supports the firm's credibility signals in search.
Structured data is generated from that same content. The site implements Organization, AccountingService, Person, FAQPage, and Article schema, plus Open Graph tags. Nothing is hand-pasted into pages, so the markup stays in sync when the content changes.
Privacy and compliance
Cookie consent is a bespoke plugin built around Kenya's Data Protection Act rather than a generic banner. It is kept as a plugin rather than part of the theme so it survives a redesign.
Security and deployment
The site sits behind Cloudflare for CDN and WAF.
Releases are packaged and pushed to a staging environment with rsync, so the client can review changes before anything touches production.
The move to production followed a fixed runbook: full backup, WP-CLI search-replace (skipping GUID columns to keep serialized data intact), DNS cutover, then decommissioning staging.
Results
Fantastic work by Kennedy. He built us a platforn that incorporated all the functions we needed and gave us a presence on Google. Now, we are proud to share our domain name with clients instead of the company's social media profiles.Puritie. R, Managing Partner, R&P Consulting
Need a similar website, platform or tool for your business?
Tell me what you're building and I'll reply with next steps.
Start a project