Portfolio

My latest work.

Categories

Staff plugin – WordPress & PHP

For Garston Play, I developed a custom WordPress plugin designed to showcase their staff and trustees in a clean, responsive grid layout. The goal was to make it easy for the site administrators to display team members with minimal effort while keeping the design flexible and mobile-friendly.

The plugin introduces a custom post type called staff-grid and a corresponding shortcode [staff-grid]. Adding the shortcode anywhere on the site displays the team members in a visually appealing grid. To maintain consistency, the plugin includes fallback images for male and female team members if no image is provided.

For the design, I used Flexbox to ensure a fully responsive layout that adapts smoothly across devices. To make content management simple, we leveraged the Advanced Custom Fields plugin for adding custom staff information and Simple Custom Post Order to allow drag-and-drop reordering of staff and trustees.

This plugin demonstrates how custom post types, shortcodes, and modern CSS techniques can work together to create a seamless and user-friendly experience for both website visitors and administrators.

Skills