Skip to main content
WebsiteWeb Development

P.E.R. Website (2026)

P.E.R. website.

P.E.R. Website (2026)

Project Details

Client

P.E.R. Agency

Date

2026

Services

WebsiteWeb Development

Scope

WordpressES6 JavaScriptDockerSCSSWebpackReactPHP

Executive Summary

Development of a high-performance, bespoke WordPress theme designed to deliver a premium digital agency experience. The project moves away from off-the-shelf page builders in favor of a custom, server-side rendered Gutenberg block architecture. This approach ensures maximum performance (Core Web Vitals), strict design system compliance and long-term maintainability.

Key Technical Implementations

1. High-Performance Block Architecture

  • Server-Side Rendering (SSR) for Gutenberg: Implemented a hybrid architecture where blocks are configured in React for the editor but rendered via PHP templates on the frontend to create a WYSIWYG experience.
  • Conditional Asset Loading: Engineered a smart enqueueing system that only loads CSS/JS assets for blocks actually present on the page, significantly reducing bundle size and improving Initial Contentful Paint (ICP).
  • Unified Registry: Centralized block registration system that handles metadata, attributes, and render callbacks in a strict, type-safe manner.

2. Design System & SCSS Framework

  • Responsive Typography Scale: Implemented a fluid typography system to ensure perfect scaling across all devices.
  • Component Abstraction: Created reusable components for common UI patterns, ensuring visual consistency across all 15+ custom blocks.

3. Custom LinkedIn Integration System

For SEO purposes, I implemented a custom LinkedIn integration system to display the latest company posts on the website so that they are also available for search engines, creating context and fresh content.

  • API Rate Limit Protection: Built a custom caching layer to decouple frontend page loads from the LinkedIn API.
  • Cron-Based Synchronization: Implemented a daily background job to fetch and update company posts, ensuring content freshness without impacting user page load times.
  • Admin Interface: Developed a comprehensive settings panel in the WordPress Customizer for API credential management, manual cache clearing, and connection status monitoring.

4. Advanced Theme Configuration

  • Environment Intelligence: Built core logic to detect Development vs. Production environments, automatically toggling between debug logging/unminified assets and production-optimized caching.
  • Extended Customizer API: Added extensive configuration options for "Archive Pages" (Cases, Services, Jobs).
  • Security Hardening: Implemented strict nonce verification for AJAX actions and comprehensive output escaping across all templates to prevent XSS vulnerabilities.

Development Workflow & Tooling

  • Local Development: Containerized environment using Docker for consistent PHP/MySQL versions matching production.
  • Build Pipeline: Custom Webpack and Sass configurations to handle asset optimization, minification, and source map generation.
  • Code Quality: Adherence to WordPress Coding Standards (WPCS) with strict typing and documentation so future developers can pick up the code easily.

Ready to start your project?

Let's discuss how I can bring your vision to life.