Code Samples

A collection of code samples from recent projects, available for download. These demonstrate WordPress theme development, custom Gutenberg blocks, plugin architecture, and GitHub Actions CI/CD workflows. Downloadable zip archives contain README.md files with more detailed descriptions.

View all samples on GitHub →

GitHub Actions Workflows

A collection of CI/CD, backup, migration, and disaster recovery workflows for GitHub Actions. Covers automated deployments, scheduled backups, cross-environment migration, and recovery procedures.

  • CI/CD pipelines for automated build and deployment
  • Scheduled backup workflows for data protection
  • Cross-environment migration automation
  • Disaster recovery procedures and rollback workflows
YAMLGitHub ActionsCI/CDDevOps

WordPress Theme Pages

Custom team member single and archive templates for a WordPress theme. The single view displays a hero image, credentials, bio, and social links. The archive page renders a card grid grouped by ACF category with defined section ordering.

  • Prev/next navigation using menu_order for custom sort
  • Archive grouped by ACF category with defined section order
  • Handles legacy single-select and current checkbox ACF formats
  • Social links for Facebook, LinkedIn, Instagram, YouTube, X, Bluesky
PHPWordPressACFCustom Post Types

WordPress Custom Blocks

Two custom Gutenberg blocks built with Advanced Custom Fields and registered via block.json. A tabbed logo grid for portfolio companies and an interlocking card grid with staggered layout and hover states.

  • Keyboard-navigable tabs with ARIA roles for screen readers
  • CSS Grid staggered layout using a repeating 6-card pattern
  • AJAX "View more" loads additional cards without page reload
  • XSS prevention via escapeHtml() for dynamically inserted content
PHPJavaScriptWordPressACFGutenberg

WordPress Custom Plugin

A WordPress plugin for managing global call-to-action sections. Provides a rich ACF-based interface for configuring up to 5 CTAs with priority ordering, color schemes, and per-page visibility controls.

  • Up to 5 CTAs with priority-based display ordering
  • Per-page toggle to show/hide CTA color schemes
  • Accessible markup with ARIA labels and screen reader support
  • Override styles with theme CSS or reposition with hooks
PHPWordPressACFPlugin Development