# Agent Testimonials Feature **Date**: 2026-01-06 **Type**: ACF Field Addition ## Summary Added a new "Testimonials" tab to the Agent Details ACF field group, allowing agents to display client testimonials on their profile pages. ## Changes Made ### ACF Field Group: Agent Details (group_agent_details) Added new tab and repeater field: **New Tab**: Testimonials (field_agent_tab_testimonials) - Position: After Social Media tab, before Settings tab **New Repeater Field**: agent_testimonials (field_agent_testimonials) - Type: Repeater - Layout: Block - Max rows: 20 **Sub-fields**: 1. `quote` (field_testimonial_quote) - Textarea, required - The testimonial text from the client 2. `client_name` (field_testimonial_client_name) - Text, required - Client's name (e.g., "John D." or "John Doe") 3. `context` (field_testimonial_context) - Text, optional - Context like "Albert Lea Buyer" or "First-time Homeowner" ## Template Changes Updated `single-agent.php` to display testimonials section between biography and gallery. ## Styling Added testimonials styles to `template-parts/agent/single-agent.scss`: - Two-column grid on desktop, single column on mobile - Card styling with accent border-left - Quote icon with italicized text - Attribution with client name and optional context ## How to Add Testimonials 1. Go to Agents in WordPress admin 2. Edit an agent 3. Click the "Testimonials" tab 4. Click "Add Testimonial" 5. Enter the quote text, client name, and optionally a context 6. Save the agent ## Dependencies - Requires ACF Pro (repeater field) - Theme must be built after deployment (`npm run build`)